cugopob.vlad Posted May 16, 2009 Report Share Posted May 16, 2009 Is it possible to include php within php? for example, have a function that returns some html code that you want but have php within the html code so that the function would return the html and the php. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted May 16, 2009 Report Share Posted May 16, 2009 I don't see why not -- as long as you are just returning the code as a string. I am not sure how you would handle it if you wanted that returned PHP to then execute... you'll just need to experiment. Quote Link to comment Share on other sites More sharing options...
cugopob.vlad Posted May 16, 2009 Author Report Share Posted May 16, 2009 How would i do that? would i just put the php end tag and then put the php start tag again? Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.