Current time: 05-24-2012, 04:08 PM 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: 141)
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...

Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities

-------
Biodegradable Sunscreen - Unblock Facebook
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!

Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities

-------
Biodegradable Sunscreen - Unblock Facebook
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication