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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

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 -
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

636 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