brettacvh
asked on
Simple flash/php form to create database
I need to create a simple form in flash that a user will fill out and on submit will create a new database and fill it with the form data using php and mqsql. Does anyone have some sample code to this effect?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Apologies. I am incorrect. I don't need to be creating the database but rather updating an existing database with:
insert into users(pogu_username,
pogu_pword,
pogu_gname,
pogu_lname,
pogu_gender,
pogu_rdate,
pogu_contactno,
pogu_email,
pogu_dob,
pogu_address,
pogu_message,
ipaddress)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
To add to my question: how do I validate the radio buttons in the flash form? I have 2 radio buttons with a group name of my_vars.gender The code I am trying is
but doesn't work
if (my_vars.gender.selection == undefined)
{
error_clip.gotoAndStop(44);
}
but doesn't work
ASKER
Open in new window
but I'm not sure how to structure the php.
For the flash I guess I'll be using something like this:
Open in new window
... etc