Hello i am having a problem with trying to create a table on the server every time a try to enter data into the database i get the message table already exists. I have moved the code to create the table on to its own page and only recall that page when the data is being entered into the data base the first time. the code i have used for the create table looks like this
$sql="CREATE TABLE `images_broad` (
`broad1` varchar(100),
`broad2` varchar(100)
)";
mysql_query($sql) or die (mysql_error());
and the code i have used to update the database looks like this
<?php
include "table_create.php";
$sql="UPDATE images_broad SET broad1='$thumb_name'";
$query = mysql_query($sql);
?>