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
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 -
Independent Software Vendors: 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!

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
joomla page title 2 200
Website Email Link Cloaking with Joomla 6 213
Anyone has the step by step to install Joomla to QNAP TS410 8 186
Install/run Joomla 3.5 as Parallels VM 2 110
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…
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi's my …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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