PDA

View Full Version : MySQL form and validation script anyone?


rayzun
04-27-2005, 10:59 PM
Anyone know of a script that I can place into my PHP template MySQL driven site - with these features??

Looking for a solution to allow visitors to post their information by filling out a form.

Saving it in MySQL database

Information is saved and output by using the URL of the selected page, because each page is numbered
example:
domain.com/1.php/1/northamerica

I use explode feature to extract the first backslash
for my queries.
list($first) = explode('/', substr($PATH_INFO,1));

$first = 1

Very important...
VALIDATE

confirm use of the email address.