perezf Posted June 11, 2006 Share Posted June 11, 2006 [code]<title>2fr3sh - <?phpif ($page = "") { echo "Home Page";} else { echo $page;} ?></title> [/code]can some one tell me what i am doing wrong Link to comment https://forums.phpfreaks.com/topic/11715-php-in-title/ Share on other sites More sharing options...
joquius Posted June 11, 2006 Share Posted June 11, 2006 change it toif ($page == "") { // (== not =) echo "Home Page";} else { echo $page;} Link to comment https://forums.phpfreaks.com/topic/11715-php-in-title/#findComment-44291 Share on other sites More sharing options...
perezf Posted June 11, 2006 Author Share Posted June 11, 2006 thank you it worked Link to comment https://forums.phpfreaks.com/topic/11715-php-in-title/#findComment-44292 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.