How to use <if gids in .php
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #1
How to use <if gids in .php
I would like to use <if gid> statements in .php files and i know its not possible and we can only use if(cond) { }

This is the code in .php file

Code:
1
2
3
4
5
6
$ontoday=<<<HERE
<td class="trow1"><a href="/forum/online.php?action=today" target="_blank"><img src="./images/oll.png" title="" class="statistics" style="float:left; height:38px; margin-right:5px; padding:8px; width:38px;"/></a>
<span class="smalltext">{$who_online}</span><br />$onToday
</td>
</tr>
HERE;


I want to hide <a href="/forum/online.php?action=today" target="_blank"> for certain gids, and i tried to use <if gid> as we see other tags are also the same mostly like <td class="">
But its showing error. Any help pls?

10-14-2010 07:04 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
How to use <if gids in .php - 1master1 - 10-14-2010 07:04 AM
RE: How to use <if gids in .php - leefish - 10-14-2010, 08:00 AM
RE: How to use <if gids in .php - 1master1 - 10-14-2010, 03:47 PM

 Standard Tools
Forum Jump: