The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I'm working on a hack, and I am using code with the below format (in my main vB directory)...however, the query only produces one row, even though running it manually produces more than that. It seems as if it's not running through the loop more than once...any idea on what might be wrong with it? Thanks in advance.
PHP Code:
|
#2
|
||||
|
||||
Quite possibly. Try unsetting them both before your code:
PHP Code:
|
#3
|
||||
|
||||
Good idea. Just tried it, but still no loopage.
|
#4
|
||||
|
||||
Alright, if someone can help me figure out what's wrong with this (seemingly) simple block of code, I'll give 'em a link in the footer of every page on my site (MovieForums.com) for 2 weeks (probably more...I'm lazy about taking stuff like that down). The site gets 150-200 posts a day on average.
Any assistance is appreciated! |
#5
|
||||
|
||||
Will you put *another* link to Israel.com if I help you?
j/k, I can't really understand why it won't loop. |
#6
|
||||
|
||||
LOL...sure I would! Hehe. Yeah, I'm stumped to. It's really a very simple block of code. I ran the query elsewhere and it does indeed produce more than one record...the one that the script does spit out (by itself) each time is the last one returned when I run the query in phpMyAdmin...dunno if that's useful, though.
|
#7
|
||||
|
||||
I have a script that lists stuff... Look at this and insert your stuff and it should work for you.
PHP Code:
|
#8
|
||||
|
||||
Well, I have no problem grabbing data...I'm just sticking with vB's functions, because it's cleaner that way. I'm wondering if there is some quirk in the DB_site class that's preventing this loop from running properly.
|
#9
|
||||
|
||||
Which version are you on Chris?
|
#10
|
||||
|
||||
Nope...this is with 2.0.3.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|