hi,
I want to display the mysql records in to row and column....like
user1 user2 user3
10 20 30
where this users are dynamic and the rows also.
here is the code
$sql=mysql_query("select * from report,admin_table where report.admin_id=admin_table.admin_id and which_day='".date('Y-m-d')."' ") or die(mysql_error());
while($row=mysql_fetch_array($sql))
{
$admin_name=$row['admin_name'];
$activity=$row1['activity'];
}
Now it should look like
admin_name 1 admin_name 2
abc xyz
Please suggest...Thanks in advance.
Raj