Reply to Re: [PHP] Is the syntax correct?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация