and another… lol
it’s a simple query which does work, however with a warning upon completion… the warning:
“Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in: yada yada”
the code…
[php]$query = “create table some_table(
id mediumint(8) unsigned auto_increment,
something varchar(20),
primary key (id) )”;
include(’…/connections/dbc.php’);
$result = @mysql_query($query) or die(“Query failed!” . mysql_error());
mysql_free_result($result);
mysql_close();[/php]
I’m pretty sure this warning will be transparent on the server I plan to put this code on, but does this really signify a problem or perhaps bad coding practice?