Put your limit at the end
On 17 Jan 2001 11:26:04 +1100, MacBane wrote:
> The variables are set using php and are all set correctly.
> how do I do the where and order by statement
>
> SELECT * FROM $table_name LIMIT $indst,$inded where sec_id = $sec order by PG_date
>DESC
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php