Bman900 Posted May 3, 2009 Share Posted May 3, 2009 This: <META name="description" content="<?php echo "$description"; ?>" /> Or: <META name="description" content="<?php "$description"; ?>" /> Link to comment https://forums.phpfreaks.com/topic/156606-which-one-is-correct/ Share on other sites More sharing options...
Ken2k7 Posted May 3, 2009 Share Posted May 3, 2009 I can't say which is correct without knowing what you mean by correct, but the first one is syntactically correct. Link to comment https://forums.phpfreaks.com/topic/156606-which-one-is-correct/#findComment-824592 Share on other sites More sharing options...
Bman900 Posted May 3, 2009 Author Share Posted May 3, 2009 Well which one is going to insert the variable value correctly? Link to comment https://forums.phpfreaks.com/topic/156606-which-one-is-correct/#findComment-824593 Share on other sites More sharing options...
Ken2k7 Posted May 3, 2009 Share Posted May 3, 2009 You should know that if something is syntactically wrong, then the code won't work. Link to comment https://forums.phpfreaks.com/topic/156606-which-one-is-correct/#findComment-824594 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.