FirePhoenix Posted February 23, 2007 Share Posted February 23, 2007 I am trying to keep all the addresses to all the pages on the site in a config.php that i made however its not working can someone tell me what i am doing wrong The code with the link <A HREF="<? echo $page_admin_direct_main; ?>">Direct TV</A> The variable in config.php $page_admin_direct_main = "http://www.myserver.com/admin/dtvmain.php"; Link to comment https://forums.phpfreaks.com/topic/39778-simple-problem/ Share on other sites More sharing options...
ScotDiddle Posted February 23, 2007 Share Posted February 23, 2007 FirePhoenix, When I tried your code, I could not get it to work either, until I changed the short-php tag ( <? ) to the long-php tag ( <?php ). After that, it worked as advertised. Scot L. Diddle, Richmond VA Link to comment https://forums.phpfreaks.com/topic/39778-simple-problem/#findComment-192064 Share on other sites More sharing options...
FirePhoenix Posted February 23, 2007 Author Share Posted February 23, 2007 thank you very much however i just figured it out I feel so stupid lol I for got to include the config.php file in the page I was trying to pull from nothing .... thanks again Link to comment https://forums.phpfreaks.com/topic/39778-simple-problem/#findComment-192065 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.