PDA

View Full Version : php sql vs vbulletin sql


MrOnline
04-22-2006, 08:14 PM
when doing query and other stuff direct to sql, is it better/quicker to use vb way or just use direct sql query from php ??

Paul M
04-22-2006, 09:14 PM
The 'vb way'.

MrOnline
04-22-2006, 11:13 PM
is there a place i can find vbcodes ?? so i can change my scripts to it ?

$results = $db->query_read("SELECT

Is the Gooood Code and

$result = mysql_query("SELECT

Is the Baaaad code ???

rake
04-23-2006, 01:46 PM
Sure there is. :)

http://www.vbulletin.com/docs/html/codestandards_sql_query