The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
eval() problem
Hi
I'm writing a testimonial script, but somehow I've run into some kind of problem. I'm trying to implement a basic template system but I have a problem making bits. Running the database query through a while(.. fetch_array() .. ) I want to .= the bits, but all that comes out is the first database row. When I don't fetch the template and don't use eval(), all the rows are displayed. Somehow I think it has something to do with the eval or the return() of the function in the eval, but I just can't figure it out... Also, I have another page, an admin.php, that just doesn't want to display in my browser. I get a 404 with Internet Explorer and a download with opera. The funny thing is, yesterday it worked. It also doesn't work if I just put normal html code in that file. I'm thinking it's a server issue, or something with the way I upload, but I can't figure out *what* it is! Really frustrating stuff, so I'd be glad if anyone can help |
#2
|
||||
|
||||
As for the eval problem, a little code snipet would help more ^^
For the file download, check the chmod, sometimes it's just that |
#3
|
||||
|
||||
Quote:
here's the call: PHP Code:
PHP Code:
|
#4
|
||||
|
||||
Anyone have any idea about this?
Like I said, it's just displaying the first result, which indicates to me that it's quiting the while() loop for some reason... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|