Code://create “movietype” table $movietype = “CREATE TABLE movietype ( movietype_id int(11) NOT NULL auto_increment, movietype_label varchar(100) NOT NULL, PRIMARY KEY (movietype_id) )”; $results = mysql_query($movietype) or die(mysql_error()); //create “people” table $people = “CREATE TABLE people ( people_id int(11) NOT NULL auto_increment, people_fullname varchar(255) NOT NULL, people_isactor tinyint(1) NOT NULL default 0, people_isdirector tinyint(1) NOT NULL default 0, PRIMARY KEY (people_id) )”; $results = mysql_query($people) or die(mysql_error()); echo “Movie Database successfully created!”; ?>
blah blah blah
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks