Re: stripslashes
| From: | Steve Werby | Date: | Thu, 04 Oct 2001 14:47:27 +0000 |
| Subject: | Re: stripslashes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69930@lists.php.net to get a copy of this message | ||
"Caleb Carvalho" <havanero@hotmail.com> wrote:
> 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?
$var = $row[product] . '<a href=solution.php?id=' . $row[prob_title] . '>'
.
$row[prob_title] .
'</a>' . stripslashes( $row[description] ) . $row[solution];
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/