How do I use PHP code inside a Joomla 1.5 article?

Posted on 2011-03-23
Last Modified: 2012-05-11
I have the following code inside a Joomla article that contains a web form. I am submitting the form to itself using a POST method. However I believe the PHP code is never checked because the echo statement does not appear on the page.

if (array_key_exists('_submit_check', $_POST)) {

echo "inside if statement";
include_once "/maze/custom/myform.php";

Open in new window

Can one of the experts please help me get this form to execute properly?

Thank you!
Question by:timburkart
  • 3
  • 3
LVL 13

Expert Comment

ID: 35204681

Author Comment

ID: 35204705
Hello joomla_php!

Is this the only technique available to me? Does it matter which module position I use in the article? see

Thank you,

Author Comment

ID: 35204709
Correction, here is the right link -
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

LVL 13

Accepted Solution

joomla_php earned 500 total points
ID: 35209522
No there are lots of choices, that happens to be my favorite.
You can include it at any module position.
Just make sure your php is correct!
LVL 13

Expert Comment

ID: 35209534
Hey cool product. I need something like that. Let me know when it's live?

Author Closing Comment

ID: 35209632
Thank you very much!

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now