View Single Post
Old 03-20-2007, 04:44 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
that's cool, i didn't know about that.

Salch, u got a problem with your layout. if you stretch it out, it's going to to display more than 2 columns. example:

first | last | first|
last

however, if you wanted to use that HTML for your display output, your php would look something like this:
PHP Code:
while($row mysql_fetch_array($result))
  {
  echo 
"<div class=\"But\">"$row['FirstName'] . "</div><div class=\"But\">"$row['LastName'] . "</div>\n";
  } 
__________________
Mike
sde is offline   Reply With Quote