insert code via textbox?
3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 24, 2012 (RSS)
By Toledoh - January 24, 2012
Hi Guys,
I'm sure I've seen this before, but I can't find the thread...
I want to have the following in my detail page;
<?php echo $what_we_doRecord['additional_page_code'] ?>
where additional page code would be something like;
<?php include("_moduleAccommodation.php"); ?>
However, I think this is being stripped out? Is there a way I can get around this? Or another way of acheiving it?
I'm sure I've seen this before, but I can't find the thread...
I want to have the following in my detail page;
<?php echo $what_we_doRecord['additional_page_code'] ?>
where additional page code would be something like;
<?php include("_moduleAccommodation.php"); ?>
However, I think this is being stripped out? Is there a way I can get around this? Or another way of acheiving it?
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)
Re: [Toledoh] insert code via textbox?
By Dave - January 24, 2012
Hi Tim,
There's a post about this here:
http://www.interactivetools.com/forum/gforum.cgi?post=87318
If all you need to do is include different files then you could have a pulldown of include file names and insert the value in the PHP include tag.
Hope that helps, let me know any questions.
There's a post about this here:
http://www.interactivetools.com/forum/gforum.cgi?post=87318
If all you need to do is include different files then you could have a pulldown of include file names and insert the value in the PHP include tag.
Hope that helps, let me know any questions.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] insert code via textbox?
By Toledoh - January 24, 2012
Thanks Dave!
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)