Posted by Labunski on 04/12/05 17:09
Is the syntax correct? (in connection with $order) : switch ($page) { case "news": $order = "DESC" break; case "articles": $order = "ASC" break; } mysql_query(" SELECT * FROM data ORDER BY id $order "); Sorry for my bad english, Lab.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming