Jump to content

Please help with constant syntax


lingo5

Recommended Posts

Hi, I have this code to assign a CSS style to a button dependingon which page we are:

 

<td width="13%" valign="middle"><?php echo '<a href="PC_clientes_display.php"'; 
if(strstr($checkit,"PC_clientes_display.php")) echo ' class="clicked"'; 
else echo ' class="menulinks"';
echo '>CNT_TXT_ADMIN_CLIENTES</a>'; ?></td>

 

Mi problem is that the constant CNT_TXT_ADMIN_CLIENTES is not displaying. I know it must be a syntax error but I can' seem to figure it out. Thanks!!

Link to comment
https://forums.phpfreaks.com/topic/251837-please-help-with-constant-syntax/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.