The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
what is wrong?
trying to get the latest articles from my database and it's returning: Fatal error: Call to undefined function: sql_fetch_row() in /path/to/home
i tried mysql_fetch_row and still gives me an error, any ideas? Code:
<?php $dbhostname= "localhost"; $dbusername= ""; $dbpassword= ""; $dbdatabase= ""; $table ="db_stories"; $db = @mysql_connect($dbhostname,$dbusername,$dbpassword); $result = @mysql_query("SELECT sid, title, comments, counter from $table order by sid DESC limit 0,5", $db); while(list($sid, $title, $comtotal, $counter) = sql_fetch_row($result, $db)) { } ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|