Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  View Answers    Answer this question    Ask a question  
 

Scotty13
Oct 27, 2011, 10:21 AM
I build 14 others with no problem. Here is what I have…

<?php
Require_once "connect_to_mysql.php";
Print "Success in database CONNECTION.....<br />";
$tableCreate = "CREATE TABLE emailSystem (
mid int(11) NOT NULL auto_increment,
date date NOT NULL,
sender varchar(255) NOT NULL,
receiver varchar(255) NOT NULL,
title varchar(255) NOT NULL,
announcements longtext NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY email (email)
)";
// This line uses the mysql_query() function to create the table now
$queryResult = mysql_query($tableCreate);
// Create a conditional to see if the query executed successfully or not
If ($queryResult === TRUE) {
print "<br /><br />Success in TABLE creation! Happy Coding!";
} else {
print "<br /><br />No TABLE created. Check";
}
// close mysql connection
Mysql_close();
?>

What ‘am I missing?

Thanks, Scotty