PDA

View Full Version : How does VB use the database?


kobescoresagain
03-05-2006, 02:11 AM
I understand how php uses the database regularly (using mysql_query...) can't find where php uses the database in vb. Can someone point me to a file that uses it so I can reference.

Thanks

Princeton
03-05-2006, 02:42 AM
look at any vb default file ... if you want me to name a specific file I'll saaaaaayyy ... showpost.php

all sql calls begin with
$db->
OR
$vbulletin->db->

Xenon
03-05-2006, 08:22 PM
in class_core.php the vB database class is definied, there you can see when the php functions are executed :)