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. Link to comment https://forums.phpfreaks.com/topic/58998-bbcode-code/page/2/#findComment-292901 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! Link to comment https://forums.phpfreaks.com/topic/58998-bbcode-code/page/2/#findComment-292911 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! Link to comment https://forums.phpfreaks.com/topic/58998-bbcode-code/page/2/#findComment-292915 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.