Mombu the Php Forum

  Mombu the Php Forum > Php > Att: J.O Aho


User Name
Password
REGISTER NOW! Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
1 19th May 09:16
dave nash
External User
 
Posts: 1
Default Att: J.O Aho



You had given me some help with the following code:

select i.itemid, i.itemname, i.attachment, i.price, i.itemcode
from items i join ItemCat ic on i.itemid = ic.itemid where ic.catid =
$catid

But when ive gone from my local server to live I come up with the
following error

#1064 - You have an error in your SQL syntax near 'on i . itemid = ic
.. itemid where ic . catid = '40' LIMIT 0, 30 ' at line 1

PHP + mysql version are different.

Any Ideas???
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666