Question:
I have a php code:
Code: Select all
echo "<td><a href=\"item_addtomysql.php?&artid=".$id."&description=".$discr."&price=".$price."\">order</a>Code: Select all
$_GETThis works fine...
But:
When the $discr variable contains quotes the URL, the URL stops at the quote so everything after the quote is omitted...
(the value of $discr is loaded from a mysql database so i cant escape the quotes)
If the value of
Code: Select all
$discr and if I
Code: Select all
echo $discrAnyone?
Thanx!