View Single Post
  #1 (permalink)  
Old 08-26-2007, 12:50 PM
kruser kruser is offline
WebProWorld Pro
 

Join Date: Aug 2007
Location: Southern Illinois USA
Posts: 146
kruser RepRank 0
Default single quote in mysql record

What do I need to do to insert a record into a table that has a variable that contains a single quote " ' " ? When the varible contains a string such as "Tom's" ( $variable="Tom's" ) it does not insert into the table for me.

Thanks,
Randy
Reply With Quote