Hi Everyone,
To start off, I have a co-worker who is an Access and Vbscripting fan, and is constantly questioning (doubting) that PHP and MySQL is a good combo.
Now, I have a test table import I had him setup for me to import into MySQL.
I have my table 'list' with 6 fields.
ID (autoincrement) - Video - State - Grade - Class - Description
And he gave me the first few records, so I could ensure the import will go OK.
INSERT INTO list VALUES (314, 1, 39, 1, 1, '6.1.3.A- AAAA.');
INSERT INTO list VALUES (315, 1, 39, 1, 1, '6.1.3.B- BBBB');
The problem is his imports are for 50 states and will be thousands of records. The ONLY way I can import it is if he/I set the autoincrement values in advance! (the first value in these samples are the autoincrement IDS - 314 315)
Not to sound lame, but isn't that why its called 'autoincrement'?
I thought I could set the import files up like such...
INSERT INTO list VALUES (1, 39, 1, 1, '6.1.3.A- AAAAA.');
INSERT INTO list VALUES (1, 39, 1, 1, '6.1.3.B- BBBBBB');
...and it would assign the ID's 314, 315, etc.
I have tried demo apps like Navicat, etc, and had little results.
I have seen references to command line scripts in MySQL and writting a PHP solution, but you would think that would not be needed.
I would REALLY appreciate some help here, and to prove the PHP/MySQL combo is a worthy one. I have staked my 'reputation' on it. 🙂
Thanks,
Don