"Caleb Carvalho" <[EMAIL PROTECTED]> 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/





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to