The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I would like to know if there is a
$DB_site->something that is equivalent to this mysql_fetch_row($result) I didn't see anything in the db_mysql.php file. Thanks |
#2
|
||||
|
||||
No there isn't.
I've never used fetch_row but presumably it just gets one row? If so, then you can use this: $row = $DB_site->query_first("SELECT ...."); That will run the query and then return only the first row. |
#3
|
||||
|
||||
You can use $DB_site->fetch_array()...
|
#4
|
|||
|
|||
Guys,
Thanks for your replies, I figured out that I could use $DB_site->fetch_array() (mysql_fetch_array) For anyone who is interested here is the php.net definition. mysql_fetch_row = Get a result row as an enumerated array mysql_fetch_array = Fetch a result row as an associative array, a numeric array, or both. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|