Adding Homemade Form to CMSms
Posted: Thu Mar 20, 2008 10:21 pm
Hy all,
I made a form that sends the information to 2 email addresses.. and stores it in a database. This script works verry wel.. standalone.
But in CMSms...
Using 'User Defined Tag' I inserted this php script into CMSms.
The code:
@ require_once ('file.php');
It seems to be working, but the function that is ran when submitting.. just makes the browser go back to the main page. Without sending emails or storing to database.
Pieces of code:
" method="post" enctype="application/x-www-form-urlencoded">
...
And I think something goes wrong with the first line.. but what ?
Can someone help me ?
Tnx
I made a form that sends the information to 2 email addresses.. and stores it in a database. This script works verry wel.. standalone.
But in CMSms...
Using 'User Defined Tag' I inserted this php script into CMSms.
The code:
@ require_once ('file.php');
It seems to be working, but the function that is ran when submitting.. just makes the browser go back to the main page. Without sending emails or storing to database.
Pieces of code:
" method="post" enctype="application/x-www-form-urlencoded">
...
And I think something goes wrong with the first line.. but what ?
Can someone help me ?
Tnx