How do I escape data that is going into a database?
$mydata = "hello I'm great";
$mydata = addslashes($mydata);
//now contains: hello I\'m great
More forms PHP QuestionsHello: I receive two error messages when I try to submit a form. The messages are: Warning: mysqli_query() [function.mysqli-query]: Empty query in /home/content/PRIVATE/html/riskyjobs_riskybusiness_Database_TableSetup_riskyjobs_Table_Chapter9_Page5
Hi all , I use CURL to login to webtrafficagents.com . I got the script and modified it to login to several sites , but it can't login to this one , any experts can help , a reward is granted :) what i want : I want to be able to view the source
I am taking over a position from another programmer, and want to change some php code, but part of it has me baffled. The code creates a form and after it is filled, the client wants it to go to a separate thank you page – right now, it re-uses the for
I currently use this form on my site: Name
How can I access information sent through POST on a form?