Will php work inside a text box?

7 posts by 4 authors in: Forums > CMS Builder
Last Post: January 26, 2010   (RSS)

By markr - January 26, 2010

Will php (e.g. a mysql query) work inside a text box?

Re: [markr] Will php work inside a text box?

By Djulia - January 26, 2010 - edited: January 26, 2010

Hi Markr,

For the update 2.00 :
http://www.interactivetools.com/tour/changelog.php

[font "Times New Roman"]MINOR CHANGES
- ...
- Editors: Text field descriptions can now contain PHP code
--------------------------------------------------------------------

Not still tested.

Djulia

Re: [Djulia] Will php work inside a text box?

By markr - January 26, 2010

Not sure re field description but not working as content.

Tried disabling auto-formatting.

Tried

{ ?>
some code
<?php}

Re: [markr] Will php work inside a text box?

By Djulia - January 26, 2010

I believe that it is not currently possible :

http://www.interactivetools.com/forum/forum.cgi?post=64524

Re: [markr] Will php work inside a text box?

By Dave - January 26, 2010

You can put PHP tags in the "Default Value" field under: Admin > Field Editor

But not in the content of the field itself.

What are you trying to accomplish?
Dave Edis - Senior Developer
interactivetools.com

Re: [markr] Will php work inside a text box?

By Chris - January 26, 2010

Hi markr,

Can you please post the complete PHP source code for the viewer page you're working on?
All the best,
Chris