PDA

View Full Version : How to include PHP info in a module?


md3sign
09-28-2008, 05:30 PM
Hi,

I'm trying to add some custom PHP code to a side module, but it's not working. If I create a module of the type "PHP" and use my PHP file as the referenced file, it simply plops the module down on top of everything instead of wrapping it. Is this normal or do I need to actually edit my PHP file to reflect the other module files?

Basically what I'm trying to do is this:

Create a "BB code" type module, but instead of BB code or simple text within the content area, I want custom PHP code. I then want to place this "block" wherever I want on my page. How can I do this?

Brian
09-29-2008, 02:25 PM
Try enabling the 'Clean File Output' setting for the module. If that doesn't help, try the suggestions from our FAQ.
http://www.vbadvanced.com/forum/faq.php?faq=vba_trouble#faq_vba_trouble_shell