vb.org Archive
>
vBulletin 3 Discussion
>
vB3 Programming Discussions
> php code for vB DB query
PDA
View Full Version :
php code for vB DB query
fearfx
12-22-2009, 12:02 AM
$videoTopic = $db->query_first("SELECT * FROM --- WHERE --- ORDER BY --- DESC LIMIT 3");
how would I turn this into a while loop?
Lynne
12-22-2009, 01:21 AM
Did you try looking in the vbulletin files for examples? While loops are used all over in the vB code. There are some in the index.php page even.
fearfx
12-23-2009, 04:03 PM
k thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.