|
plus, get into the habit of putting backticks around your query:
SELECT * FROM `myTable` WHERE `category` = '".$insertCat."' AND `approved` = 1 LIMIT 5;
trust me - there are lots of words in mysql syntax that if used as a row/table description would cause headaches.
__________________
For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)
All models are wrong, but some are useful. George E.P. Box. p202
|