Insert Text with apostrophies
Posted: Tue Jun 06, 2006 9:41 pm
I have the following query that does not work when the text that is past to it from a form has apostropies, or pound signs, or other kinds of characters in the '$new_url' or the $new_note'.
What do I need to do to it to make it work?
Thanks.
Code: Select all
(!mysql_query( "insert into onmylist_person (username, person, notes) values ('$valid_user', '$new_url', '$new_note')"))What do I need to do to it to make it work?
Thanks.