Support

Typical Programming Problems

mySQL all in PHP fails-why?

in PHP, print the SQL command.

example:

CREATE  TABLE values  ( `id` INT NOT NULL AUTO_INCREMENT ,  PRIMARY KEY (`id`) , username VARCHAR(45) NOT NULL, userdate DATETIME    ) ENGINE=InnoDB;

Then copy and paste the SQL command to phpmyadmin


and read the error message.


 Correct the SQL command until it works, then copy and paste it back to PHP.


No comments:

Post a Comment