Jump to content

Variable help


JacobBar

Recommended Posts

thanks for the info, the reason is im trying to make a menu that when the user select a page "about us" it would have a different background image by doing so


<td width="94"  <?php if ($page = "aboutus" ) echo "background=\"aboutus_selected.gif\""; else echo "background=\"aboutus_not_selected.gif\"";  ?> ><a href="about.php"></a></td>

$page = 'aboutus';

Link to comment
https://forums.phpfreaks.com/topic/188159-variable-help/#findComment-993385
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.