Need help with $TMPL

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Need help with $TMPL

Post by johnj » Fri Oct 19, 2012 9:55 pm

Code: Select all

if ($TMPL['downurl'] == NULL) { $TMPL['downurl'] = 'Not Available'; } else { $TMPL['downurl'] = ''.$TMPL['downurl']; }

echo "<a href='".$TMPL['downurl']."'>your url</a>";

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests