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"; ?>" /> Quote 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. Quote 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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/156606-which-one-is-correct/#findComment-824594 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.