In my database table [B]intranet_request[/B] I have different request entries…I want to create some code that retrieves the last 3 requests and put those request in different html tables on that page. Does this make any sense? If so how do I go about this.
[SIZE=”3″]This is how I would like it to be displayed[/SIZE] <table> <tr> <td> REQUEST 1</td> <td> REQUEST 2</td> </tr> </table>
@FrostBiteFeb 22.2008 — #Are you using MySQL? If you are you're going to want to look up "order" and "limit" keywords in your select statement. Hope this helps.
@raistlinFeb 22.2008 — #Try this ? [code=php] <table> <tr> <?php $numberYouLike = 1; $request = 'contain the result of your db request in mysql_fetch_array';