Posted by Pedro Graca on 11/17/06 10:17
BabyBlue wrote:
> I have a function like this:
> function get_articles($cat=1,$numberposts=1);
>
> it can be used:
> get_articles(cat=4&numberposts=6);
> //will display 6 posts from category 6
Wrong group?
This is not PHP; the syntax is wrong.
For the correct PHP syntax read the manual:
http://www.php.net/manual/en/functions.arguments.php
--
I (almost) never check the dodgeit address.
If you *really* need to mail me, use the address in the Reply-To
header with a message in *plain* *text* *without* *attachments*.
[Back to original message]
|