I have a simple flat file db, a toy library
When users add an entry they can choose which 'kit' it belongs to, include a name, description, ID number, etc.
Is it possible to add an image at well.
The only way I can think to do it is to run a seperate script (upload) from within the main script.
The problem with that is that the location for the image file doesn't get written to the db, at least I don't know how to do that from a seperate script.
Is there an easy way to do this without resorting to a seperate script?
thanks
When users add an entry they can choose which 'kit' it belongs to, include a name, description, ID number, etc.
Is it possible to add an image at well.
The only way I can think to do it is to run a seperate script (upload) from within the main script.
The problem with that is that the location for the image file doesn't get written to the db, at least I don't know how to do that from a seperate script.
Is there an easy way to do this without resorting to a seperate script?
thanks
Comment