ehm yes if i understand u right
in the script u use there are option that sometimes still exist.
that are the lines that causes errors.
Or there are lines that ure database doesent contain so u havent to drop them cause they arent there.
so u have to run the script
u get en error.
all lines to the line that causes arror are done by phpmyadmin.
so u must remove them from the script.
the line that causes error must be removed to.
The save the srcipt run it again.
if u get en error look which line in script causes the error and remove it.
If the line is the first line and causes error remove it run again .
If the third line causes error delete all lines before and the line that causes error.
then run again.
I hope u understand what i mean cause im not english

im german so maybe my description isnt understanadble ??