|
Posted by Richard Davey on 04/12/05 17:24
Hello Labunski,
Tuesday, April 12, 2005, 3:09:43 PM, you wrote:
L> Is the syntax correct? (in connection with $order) :
Nope. You need ; after the $order = lines.
L> switch ($page) {
L> case "news":
L> $order = "DESC"
L> break;
L> case "articles":
L> $order = "ASC"
L> break;
L> }
I.e.: $order = "DESC";
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov
[Back to original message]
|