Page 1 of 1

Text Problem

Posted: Wed Oct 10, 2007 5:49 am
by parko7
I have a HTML form that takes text from a text field and stores it into a database not a problem, the problem occurs when i retrieve the text from the database and try to store it again. The variable that holds the text will not store but if i change what the variable holds it will store, so i know its not a problem in my code.

Basically i want to move the text in one field into an archived field in the database, but it wont let me store the text again.

Can anyone help?

Posted: Wed Oct 10, 2007 8:50 am
by parko7
its because its got and apostrophe in it!

Posted: Wed Oct 10, 2007 9:41 am
by Zoxive
parko7 wrote:its because its got and apostrophe in it!
Sounds like you need to start validating user input.

Posted: Wed Oct 10, 2007 1:22 pm
by parko7
problem solved!