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 Quote 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;} Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/11715-php-in-title/#findComment-44292 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.