EY Posted March 10, 2008 Share Posted March 10, 2008 Can someone please tell me why the following is not wokring: <?php define(“COMPANY”,”My Fine Company”); echo COMPANY; ?> Link to comment https://forums.phpfreaks.com/topic/95487-constant-not-working/ Share on other sites More sharing options...
Orio Posted March 10, 2008 Share Posted March 10, 2008 You are using weird quotes... Try it this way: <?php define("COMPANY","My Fine Company"); echo COMPANY; ?> Orio. Link to comment https://forums.phpfreaks.com/topic/95487-constant-not-working/#findComment-488804 Share on other sites More sharing options...
EY Posted March 10, 2008 Author Share Posted March 10, 2008 Wow never saw those! Thanks soo much. Link to comment https://forums.phpfreaks.com/topic/95487-constant-not-working/#findComment-488814 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.