Colin F
10-16-2004, 12:51 PM
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 ;)
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 ;)