The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying a very simple plugin to display some results on a member's profile page. Look at the following code:
Code:
$pilotid = $userinfo['userid']; $pilotid = "VAA".$pilotid; $getlatestpireps = $db->query_read("SELECT * FROM pirep WHERE pilot_id = '$pilotid' ORDER BY date DESC LIMIT 10"); while ($row = $db->fetch_array($getlatestpireps)) { $latest_pireps = $row['date']; } |
#2
|
|||
|
|||
![]()
Change:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]() Quote:
Thanks for your reply! :up: Ok, I did what you suggested and here is what happens now: http://www.virtualaa.com/forums/member.php?u=1 Any idea? ![]() |
#4
|
|||
|
|||
![]()
Your question was why only the last entry was shown, that was easy
![]() If the result is what you expect that is a totally different question, and as i don't know what you expect to happed, i can not answer it. |
#5
|
|||
|
|||
![]() Quote:
THANKS because you did answer my question! lol |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|