php mysql form problem |
php mysql form problem |
Del |
Oct 22 2012, 12:38 PM
Post
#1
|
Group: Members Posts: 4 Joined: 21-October 12 Member No.: 17,986 |
I have a form set up to insert data into a table in mysql database. In the text field, everything inserts to the table just fine as long as the user doesn't enter a contraction into the test field (It's, I've, etc.). If the user does enter a contraction into their response, none of the information from the form makes it to the database table.
Anyone know what's going on here? If you need more info, just ask. Thanks, Del |
Christian J |
Oct 22 2012, 05:33 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Sounds like you're not using http://www.php.net/manual/en/function.mysq...cape-string.php ("Example #2 An example SQL Injection Attack" illustrates a malicious scenario).
|
Lo-Fi Version | Time is now: 23rd April 2024 - 12:46 PM |