[PHP] Qoute problem

2001-02-14 Thread Tanya Brethour
Hi! I was hoping that someone could help me out. I am not positive if I understand whats going on.. so let me try to explain. This is a process to modify news articles in a MySQL database. (From the point after picking the article to modify) PHP Script #1: I grab everything from the database

Re: [PHP] Qoute problem

2001-02-14 Thread Web master
My approach towards this problem was to parse the data before inserting and before displaying. Before inserting the data entered by user, do something like str_replace($comments, "'","~") and do the same thing for " do a different character like | and then insert it into database. Do the

Re: [PHP] Qoute problem

2001-02-14 Thread Tanya Brethour
Let says I strip the slashes.. so it goes back to just normal qoutes.. and then do the str_replace("\"","|", $describe); $describe = stripslashes($describe); str_replace("\"","|",$describe); It doesnt replace the qoutes.. -Tanya On Wed, 14 Feb 2001, Web master wrote: My approach towards

Re: [PHP] Qoute problem

2001-02-14 Thread Christian Reiniger
On Wednesday 14 February 2001 17:56, Tanya Brethour wrote: Hi! I was hoping that someone could help me out. I am not positive if I understand whats going on.. so let me try to explain. This is a process to modify news articles in a MySQL database. (From the point after picking the article

Re: [PHP] Qoute problem

2001-02-14 Thread Ankur Verma
inal Message - From: "Tanya Brethour" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 14, 2001 10:26 PM Subject: [PHP] Qoute problem Hi! I was hoping that someone could help me out. I am not positive if I understand whats going on.. so let me try to explain. Th

Re: [PHP] Qoute problem

2001-02-14 Thread Ankur Verma
rethour" [EMAIL PROTECTED] To: "Web master" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 14, 2001 11:47 PM Subject: Re: [PHP] Qoute problem Let says I strip the slashes.. so it goes back to just normal qoutes.. and then do the str_replace("\"",&qu