hey guys i have this line
$result=mysql_query($query) or die(mysql_error());
$option="";
while($row=mysql_fetch_array($result)) {
$option.="<option value=".$row['firstname; lastname'].">".$row['firstname; lastname']."</option>";
}
Now i need to fetch the last name and first names and put them into those option values...
hows that done? If i go
lastname, firstname
I get nothing, if i just say
firstname
or
lastname
It works perfectly.
any ideas?