The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
Hi,
PHP Code:
![]() When running a query, there are 2 parts. 1) query_read() - This runs the query and returns the result 2) fetch_array() - This converts the result into something PHP can understand So, for your query, you need to change the code to: PHP Code:
PHP Code:
For a query like yours, where there will only be 1 row returns, query_first() is ideal. So, your code using query_first() would look like: PHP Code:
![]() Thanks, Alan. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|