> I'm trying to build a news panel for my home page. Basically I want to
> present the five most recent news articles in a recordset, but I'm not
> sure how to cut off the recordset after 5.
> Also I want to present a picture with my first headline.
>
> My code will go something like this:
>
>
[snip]
I'm trying to build a news panel for my home page. Basically I want to
present the five most recent news articles in a recordset, but I'm not
sure how to cut off the recordset after 5.
[/snip]
use LIMIT 5 as the last bit of your query
Jay
--
PHP General Mailing List (http://www.php.net
Hi,
I'm trying to build a news panel for my home page. Basically I want to
present the five most recent news articles in a recordset, but I'm not
sure how to cut off the recordset after 5.
Also I want to present a picture with my first headline.
My code will go something like this:
3 matches
Mail list logo