I'm trying to put this string that work fine as php:
if ($sortvalue == $sort[3]) { echo 'selected=' ;}
into this code:
echo '<select onchange="this.form.submit();" name="sort">
<option value="'.$sort[3].'" HERE_THE_PHP_CODE>Price</option>
[..]
</select>';
I tried a lot of syntax but I got always a blank page.
error_reporting(E_ALL); ini_set('display_errors', 1);