Current time: 03-22-2010, 05:14 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with PHP and a variable
11-14-2008, 09:49 AM
Post: #11
RE: Issue with PHP and a variable
See if this fixes it:


Attached File(s)
.php  phptpl.php (Size: 2.99 KB / Downloads: 116)
Visit this user's website Find all posts by this user
Quote this message in a reply
11-14-2008, 11:27 AM
Post: #12
RE: Issue with PHP and a variable
Alright,

Thanks guys.

Labrocca, the first one without any apostrophies worked. But how do I get {$thread['uid']} to work like that? I tried $thread['uid'] and $thread[uid] to no avail.

Yumi, that didn't seem to make any difference...

[Image: main.png]

[Image: zash.png]
Wanna help MyBB AND get a cool userbar? Click the image above!
Visit this user's website Find all posts by this user
Quote this message in a reply
11-14-2008, 11:40 AM
Post: #13
RE: Issue with PHP and a variable
Are you still getting PHP errors?
What code are you trying, and in what template are you trying it in?
Visit this user's website Find all posts by this user
Quote this message in a reply
11-14-2008, 07:59 PM
Post: #14
RE: Issue with PHP and a variable
Actually, nevermind, it works!

IDK what errors I were getting before...I will post if I get another error.

Thanks for your help guys!

[Image: main.png]

[Image: zash.png]
Wanna help MyBB AND get a cool userbar? Click the image above!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: