NXArmada
10-03-2006, 02:55 PM
I can make a basic File Upload script in PHP, but how can i make a Database entry into mysql. The file will not be stored in mysql but a folder on the server. But details of the file will be stored in MySQL like its filename.
Database table:
datasheets
id int(11) No
part varchar(255) No
filename varchar(255) No
description text No
Indexes:
PRIMARY PRIMARY 0 id
filename UNIQUE 0 filename
If you can understand what i am trying to say lol.
Database table:
datasheets
id int(11) No
part varchar(255) No
filename varchar(255) No
description text No
Indexes:
PRIMARY PRIMARY 0 id
filename UNIQUE 0 filename
If you can understand what i am trying to say lol.