Det hjælper stadig ikke....
Får stadig denne fejl:
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in
/www2/nvr/WWW/b-sider/nvrplay/nvrplay_stem.php on line 316
Med:
<?
$1 = "test1";
$2 = "test2";
$3 = "test3";
?>
<select name="stem1" size="1">
<option value="1"><? echo "$1"; ?></option>
<option value="1"><? echo "$2"; ?></option>
<option value="3"><? echo "$3"; ?></option>
</select>
> Variabel-navne SKAL starte med et bogstav (a-zA-Z) eller underscore
> '_'. Citat fra:
>
http://www.php.net/manual/en/language.variables.php
>
> "Variable names follow the same rules as other labels in PHP. A valid
> variable name starts with a letter or underscore, followed by any
> number of letters, numbers, or underscores."
>
> > <option value="1"<? echo "$1"; ?></option>
>
> Du manger en '>' :
>
> <option value="1"><? echo "$1"; ?></option>