<?php //sql query which gets the data from database
$query = mysql_query ( "SELECT aaa,bbb,ccc,ddd,eee FROM xyz");
$row = mysql_fetch_row ($query);
?>
This query returns a 2-D array how to display that. This returns a part of table.
echo $row[0];
echo $row[1];
echo $row[2];
echo $row[3];
echo $row[4];
that's it. Or you can print_r whole array
print_r($row);
but to show all 5 lines you have in your DB, you should do it like
<?php
$query = mysql_query ( "SELECT aaa,bbb,ccc,ddd,eee FROM xyz");
while($row = mysql_fetch_row ($query)){
echo $row[0];
echo $row[1];
echo $row[2];
echo $row[3];
echo $row[4];
}
?>
print_r() you're ahead of me all day! leave some to me!! :P</insanity>