....ho trovato un file sql che potrebbe andare bene per il mio caso; lo importato nel databese e mi da questo errore: Errore
Query SQL:
-- phpMyAdmin SQL Dump
-- version 2.6.0-pl3
--
http://www.phpmyadmin.net--
-- Host: localhost
-- Generato il: 18 Apr, 2007 at 04:00 PM
-- Versione MySQL: 3.23.58
-- Versione PHP: 4.3.11
--
-- Database: `test`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `comuni`
--
CREATE TABLE `comuni` (
`id` INT( 5 ) NOT NULL AUTO_INCREMENT ,
`nome` TEXT NOT NULL ,
`idprovincia` INT( 4 ) NOT NULL DEFAULT '0',
`idregione` INT( 4 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( `idcomune` )
) TYPE = MYISAM AUTO_INCREMENT =8085;
Messaggio di MySQL: Documentazione
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`id` int(5) NOT NULL auto_increment,
`nome` text NOT NULL,
`idprovincia` int' at line 2
faccio presente che ho programmi piu' recenti. c'e' qualcuno che mi da un aiutino?
grazie!