weezy8802 Posted April 6, 2008 Share Posted April 6, 2008 I am trying to insert html into php and keep getting multiple errors. Can anyone show me the correct syntax to do it. Quote Link to comment https://forums.phpfreaks.com/topic/99812-solved-html-in-php/ Share on other sites More sharing options...
AndyB Posted April 6, 2008 Share Posted April 6, 2008 There's no 'correct syntax' for it. You could close php, do html, re-open php or you could properly escape single and double quotes (probably what's generating your errors), or you could use the HEREDOC approach ... depends on your code complexity and preferences. Quote Link to comment https://forums.phpfreaks.com/topic/99812-solved-html-in-php/#findComment-510466 Share on other sites More sharing options...
weezy8802 Posted April 6, 2008 Author Share Posted April 6, 2008 Thank you so much for the help. I got it! Quote Link to comment https://forums.phpfreaks.com/topic/99812-solved-html-in-php/#findComment-510492 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.