addslashes problem
Posted: Fri Jul 16, 2004 9:52 am
i use the function but the slashes don't show up in the database. I use addslashes in a different script and it works just fine...
thanks in advance!
~FCB
Code: Select all
<?php
$alt = $HTTP_POST_VARS['alt'];
$url = $HTTP_POST_VARS['url'];
$img = addslashes('<img src="'.$url.'" alt="'.$alt.'" />');
?>~FCB