javascript - my ajax and php don't fully work on godaddy -
i have troubled getting info php file insert godaddy's database , found don't $_post because works fine in localhost.
this connection anyway:
<?php $test = mysql_connect("xx.xx.xxx.xx:xxxx","travelxxxxx","xxxxxhotel2014"); mysql_select_db("hotelxxxx"); ?> and after submit infos, javascript must prompt me message either data inserted or not it's not. after clicking submit button inserts few data on database don't prompt me.
here's image of database: http://i58.tinypic.com/71h20z.png
and here's website: site
hope me :)
i think must read how turn off magic_quotes_gpc on godaddy
because think using mysql_real_escape_string if i'm not mistaken.
your table fill blank when mysql_real_escape_string data. , if choose not mysql_real_escape_string it, data not inserted table.
Comments
Post a Comment