The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> php mysql form problem
Del
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post 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).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 12:46 PM