![]() |
mysql syntax error
what did i do wrong?
Quote:
|
I guess you want this:
[sql] SELECT * FROM gallery WHERE gallery_id='1' AND image_name='bacon1' ORDER BY gallery_id DESC [/sql] Btw: I'd be interested in a beta or even alpha version of your gallery :) |
whats wrong with it now>_<
Quote:
|
Well, same problem as before ;)
[sql] SELECT * FROM gallery WHERE gallery_id='' AND image_name='' AND artist_name='antonbomb22' ORDER BY gallery_id DESC [/sql] You might also put OR instead of AND (or AND NOT, or ...), depends on what you want to achieve. |
All times are GMT. The time now is 02:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|