The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What am i doing wrong?
What am i doing wrong here?
Im trying to display all the rows in the table. But its not working, there is no error message. It just doesnt display! PHP Code:
|
#2
|
||||
|
||||
You have nothing in your while loop which means no output to display.
Plus, I don't see where you are even using the function named foo. |
#3
|
|||
|
|||
Quote:
Could you tell me how to fix it or do it the correct way? Im new to php |
#4
|
||||
|
||||
PHP Code:
|
#5
|
|||
|
|||
Im getting a parse error.
Parse error: parse error, expecting `','' or `';'' in c:\program files\easyphp1-8\www\test.php on line 44 Okay i fixed the parse error but it still is not displaying rows. No errors. Okay okay i got it Thanks alot |
#6
|
||||
|
||||
Yeah, you need to use actual database collumn names.
|
#7
|
|||
|
|||
Lol yep ive got it.
Ive now put $view[column] in the template. But it only displays the first row. How can i display all rows? PHP Code:
|
#8
|
||||
|
||||
You don't want all these in that loop.
PHP Code:
|
#9
|
|||
|
|||
It still only displays one row?
If i do this PHP Code:
but if i do this and try and put it in the template file it only displays one row. PHP Code:
|
#10
|
||||
|
||||
You need a template file for the rows (inside the loop) then a main template to hold the rows (outside the loop).
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|