joined:Oct 19, 2011
I heard back from the client yesterday that when it comes to the "email details" page, they want it sorted out by first name.
$sql=mysql_query("SELECT contactid, firstname, lastname FROM $table_name");
echo "<option value= '$id' >";
echo "$firstname$lastname ";
<input type="submit" name="submit" value="Send Details">
Choose which user you want to send details to.
This does work, but I have tried ORDER BY firstname ASC. That didn't work. I tried moving the fields around so first name is first. What am I missing?