![]() |
What Am I Doing Wrong?
Tried executing this query, but keep getting a database error, 1064
PHP Code:
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY pmtext.dateline DESC' at line 7 Error Number : 1064 |
Unless it changed in a later beta, iif is no longer a vaild function AFAIK.
|
iif sucked anyways.
iif($condition, $true, $false) should be ($condition ? $true : $false). |
Check if $folderid is not empty.
|
I'm using:
PHP Code:
|
PHP Code:
PHP Code:
|
Acually you made a type-o Marco.
PHP Code:
PHP Code:
|
Quote:
Invalid SQL: Code:
SELECT pm.*, pmtext.* Appears to be: PHP Code:
|
Yeah i saw after i submitted (double click not only select the word, but also the space after), but i thought he would figure that out.
|
That error is due to one of two possiablities.
1) pm.userid is showing up as empty. Or 2) pm.folderid is showing up as empty |
All times are GMT. The time now is 07:26 AM. |
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:
|