I am trying to set a connection to a MySQL database in the server, it connects to the db but it doesn´t insert anything. I don´t know what else to do.
What error message do you get?
Try this code, and modify it to adapt to your database.
mysql_pconnect("localhost","login","password"); mysql_select_db("you_db_name"); mysql_query("INSERT INTO tabel_name VALUES('test', 'test')");
I don't get any error message, when I look in the db there is nothing inserted.