Hi all🙂 Trying to get the below to have the SELECTED value chosen but it is not working. What am I doing wrong?
while ( $buyerline= mysql_fetch_array($getresult, MYSQL_ASSOC))
{
print "<option value='$buyerline[id]'".($buyerline[id]=='$buyer'?' SELECTED':'').">$buyerline[buyer]</option>\n";
}
print '</select>'