How to show report in php dynamic?
Hi,
I need your help. I've some reports to show in php dynamic. But I don't know how to show it in php dynamic. Please, show me the process as elaborately as possible.
Thanks
Hi,
I need your help. I've some reports to show in php dynamic. But I don't know how to show it in php dynamic. Please, show me the process as elaborately as possible.
Thanks
Hello
I found simple example for you, it is bare boned so you'll have to design it as you need.
<table border=1 cellpadding=4 cellspacing=0>Â
<tr><th colspan=3>Report</th></tr>Â
<tr><th>Date</th><th>Item</th><th>Code</th></tr>Â
<?Â
while($row=mysql_fetch_array($your_mysql_query)) {Â
$thisdate=$row["date"];Â
$thisitem=$row["item"];Â
$thiscode=$row["code"];Â
print("<tr><td>$thisdate</td><td>$thisitem</td><td>$thiscode</td></tr>n");Â
}Â
?>Â
</table>
This is simple example on how to make php report. As you can see it shows you "Date", "Item" and "Code". So you should customize this as you need. I hope this will help you.
Cheers.