I am trying to execute php code when a form is saved.
To do this, in supplements form, add a php complement.
Paste the following code,
$ db = & JFactory :: getDBO ();
$ db-> setQuery ("INSERT INTO` ultima_inscripcion `(` test `)
VALUES ('test from form') ");
Neither one got to do print_r
If you want to run a php to save the form, the steps are well am I doing?
To do this, in supplements form, add a php complement.
Paste the following code,
$ db = & JFactory :: getDBO ();
$ db-> setQuery ("INSERT INTO` ultima_inscripcion `(` test `)
VALUES ('test from form') ");
Neither one got to do print_r
If you want to run a php to save the form, the steps are well am I doing?