bcamp1973 Posted March 1, 2007 Share Posted March 1, 2007 Can someone tell me the difference/benefits between the following... @define ( 'USER_TABLE','user'); ...and... $USER_TABLE='user'; Link to comment https://forums.phpfreaks.com/topic/40641-properly-declaring-variables/ Share on other sites More sharing options...
fert Posted March 1, 2007 Share Posted March 1, 2007 the first one creates a constant (a variable that cannot be changed). Link to comment https://forums.phpfreaks.com/topic/40641-properly-declaring-variables/#findComment-196579 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.