0

Hi! I searched but no luck :S

anyone can help me..

i want to fill a table with 3 collumns and n Row's, with all my database latitude and longitude parameters and date from when it happen...

i think i need to make it with a for .. but i don't really know..

if someone could help...

i wanted something like this image : http://i.imagehost.org/0829/filltable.jpg

I think its easy code.. so please help me.. i really appreciate..

thank you all

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by gpss
0

Use a while statement, like:

$query = mysql_query(query here...);

while($result = mysql_fetch_assoc( $query )) {
  echo "<tr><td>{$result['column_title']}</td></tr>"
}

That will output one line for each record retreived. Adjust the echo to your needs obviously

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.