Hello...I was just wondering what the correct syntax is to embed php within php... as in something like <?php <?php ?> ?> but obviously this is not right. Does anyone know how to do this correctly?
Hello...I was just wondering what the correct syntax is to embed php within php... as in something like <?php <?php ?> ?> but obviously this is not right. Does anyone know how to do this correctly?
Try php.net
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
I believe you need to end one php tag before you start another, there is no need for a php tag within another php tag as once you have an open php tag when you close the on inside it will only cancel out the main php closing tag,
if you need to write html or somthing just close the tag and do what is needed and reopen when you need to as you can write html within php.
just my 2 cents if it makes any sence