Yesideez Posted July 9, 2007 Share Posted July 9, 2007 If you're pulling sample code from a database then anything in there that contains <?php won't get parsed by PHP but will instead be treated as text which will solve your problem. To insert <?php into a table you can do it by reading the text from a form (textarea?) or by breaking the string up like I have above. Quote Link to comment Share on other sites More sharing options...
kimla Posted July 9, 2007 Author Share Posted July 9, 2007 Now that i upload it with htmlentities it looks like it's all good. I don't know if I'm finished with my questions yet, so i won't do a 'topic solved' just yet. And thanks for the help so far! Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 9, 2007 Share Posted July 9, 2007 You're welcome! If I'm not here its bceause I've gone to bed - its 3am here and I'm sooo tired its unreal! 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.