Re: stripslashes

From: Date: Thu, 04 Oct 2001 13:38:21 +0000
Subject: Re: stripslashes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69918@lists.php.net to get a copy of this message
if you just want to add slashes to the data, use addslashes if you want to get away the alashes from the data, use it in the print or echo function. -- Hidulf http://www.hidulf.com "Caleb Carvalho" <havanero@hotmail.com> wrote in message news:F73vexzjfgmQazXoB9k0000fa22@hotmail.com... > Hi all, > > if i have an array that is fetching the result to be display > example, > for ($i =1; $i<=sybase_num_rows($result); $i++){ > $row =sybase_fetch_array($result); > > $row[product] > <a href=solution.php?id=$row[prob_title]>$row[prob_title]</a> > $row[description]$row[solution] > > where would i put the stripslashes function to get the description? > ... > I have tried up and down, but unfortunately am still learning php, > > sorry, > > Caleb Carvalho > Application Engineer > LoadRunner/APM > -------------------------------------------------------------------------- --------------- > Enterprise Testing and Performance Management Solutions > -------------------------------------------------------------------------- --------------- > Mercury Interactive > 410 Frimley Business Park > Frimley, Surrey. GU16 7ST > United Kingdom > Telephone : +44 (0)1276 808300 > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp >

« previous php.general (#69918) next »