Jump to content

results display question


slashpine

Recommended Posts

hope someone will help a non-coder (just a hack)

 

The following displays the results from a db query...I have two questions....

echo '  <td>'.$row['id'].'</td>'; 
  echo '  <td>'.$row['name'].'</td>';
  echo '  <td>'.$row['address'].'</td>'; 
  echo '  <td>'.$row['city'].'</td>';
  echo '  <td>'.$row['state'].'</td>'; 
  echo '  <td>'.$row['zip'].'</td>';

1.) how can I make the results display in a table where I can put a heading at the top each column?

 

2.) how difficult would it be to be able to sort the columns by the "heading" (column name)

 

Thanks...

Link to comment
https://forums.phpfreaks.com/topic/138074-results-display-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.