Jump to content

[SOLVED] Incorrect column specifier for column 'id'


elite_prodigy

Recommended Posts

I keep getting ther error:

 

Incorrect column specifier for column 'id'

 

I'm using the following code:

 

<?php

$create = "CREATE TABLE test (`id` MEDIUMTEXT NOT NULL AUTO_INCREMENT, PRIMARY KEY(`id`));";
mysql_query($create, $conn) or die(mysql_error());

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.