The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Array Help
Hello I am trying to create an array to list the results that it finds from the MySQL DB using the SELECT command.
Here is my code basically, im new to vBulletin + PHP. Code:
$theuserid = $vbulletin->userinfo['userid']; $result = $vbulletin->db ->query_read("SELECT * FROM vsa_advreg_invite WHERE inviter='$theuserid'"); while($row = $vbulletin->db->fetch_array){ $getcode = "You invited: " . $row['invited']. "<br> Your Code to Give: ". $row['code'] . "<br>"; } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|