Re: [PHP] addslashes/stripslashes issue

2005-05-27 Thread John Nichel
JM wrote: Hi all, Ok here is what I need help with: $var = "i like fi'sh"; I'm able to addslashes(gather the data from a form), submit into the database, stripslashes(retrieve it). My problem is when I display it in a input type=text form the single quote is causing a truncation. will disp

Re: [PHP] addslashes/stripslashes issue

2005-05-27 Thread Rasmus Lerdorf
JM wrote: > Hi all, > Ok here is what I need help with: > > $var = "i like fi'sh"; > > I'm able to addslashes(gather the data from a form), submit into the > database, stripslashes(retrieve it). > > My problem is when I display it in a input type=text form the single > quote is causing a truncat

[PHP] addslashes/stripslashes issue

2005-05-27 Thread JM
Hi all, Ok here is what I need help with: $var = "i like fi'sh"; I'm able to addslashes(gather the data from a form), submit into the database, stripslashes(retrieve it). My problem is when I display it in a input type=text form the single quote is causing a truncation. will display as: i l