Quote:
Originally Posted by Analogpoint
What are the errors you get? What are you trying to do with this?
|
well the first couple of times, I got errors like "call to an undefined member function query_read" or errors mainly similar to that, but those errors went away after I set the globals.
Then I got no more errors, but the showthread page didn't load. All the other pages load up fine except showthread.
Basically what I'm trying to do is to have the first attachment of the first post stored in a variable so that I can call it within the template on the first post.
hope that makes sense, thanks.