PDA

View Full Version : Login Using Flash MX, PHP, and MySQL



jmayo86
August 29th, 2003, 03:59 PM
Hello, i have a problem with the 'Login Using Flash MX, PHP, and MySQL' tutorial featured on the Kirupa website. (The tutorial can be loacted
Here (http://www.kirupa.com/developer/actionscript/authentication.htm)

I have done all the Flash and PHP but the MySQL is wrong, the database SQL query doesnt work when i run it on my server, i have MySQL and PHP allowed on my server as i pay for it through silvesterhost.co.uk

Coild you tell me whats wrong with it? below is the SQL that is featured on the tutorial:

CREATE TABLE auth (
userid
int(4)
unsigned
zerofill
DEFAULT '0000'
NOT NULL
auto_increment,
username varchar(20),
userpassword varchar(20),
PRIMARY KEY (userid)
);

Hope you can help

Jason :ch:

Jubba
August 29th, 2003, 06:32 PM
what is your PHP code and what do you get for an error when your PHP page runs?

jmayo86
August 30th, 2003, 05:03 AM
no its not the php that is wrong its the SQL query , when i run it in my control panel on my host it says errors, is there something wrong with the SQL? :tie:

Jubba
August 30th, 2003, 08:12 AM
what are the errors.