![]() |
|
? |
![]() PHP FAQ PHP Articles PHP Help Bulletin Board PHP Manual (NEW!) First Time PHP'ers Help with programming Sql assignment help PHP Homework Help C# Help
|
? |
|
|||||||||||||||||||||||||
?Reply To This Message | ||||||||||||||||||||||||||||
?Your Name: | ||||||||||||||||||||||||||||
?Your Email: | ||||||||||||||||||||||||||||
?Subject: | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
Email replies to this thread, to the address above. | ||||||||||||||||||||||||||||
??wrote: > > $string = str_replace("'","''",$string); > > replaces all the single quotes with the two single > quotes...you could also try addslashes... > > Note that on the way out (when passing this data back to the > screen you'll need to do the replace in the other direction, > to remove the second single quote ">??![]() |