View Single Post
Old 03-20-2007, 06:39 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
Have you tried
PHP Code:
echo "<table> <tr><td>Firstname</td><td>Lastname</td></tr>";
while(
$row mysql_fetch_array($result))
  {
  echo 
"<tr><td>" $row['FirstName'] . "</td><td> " $row['LastName'] . "</td></tr>";
  }
echo 
"</table>"
??

And please dont post two threads about the same thing, edit your previus post to reflect the code, or add a reply to the thread containing your code.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote