Forums
This topic is locked
using form field field option to load path to imag
Posted 27 Nov 2004 21:33:33
1
has voted
27 Nov 2004 21:33:33 Simon Wantling posted:
I have created an input form which allows a user to input data about insect. Everything works fine except the file field option which I hoped would send the path to an image to my mysql database. I get an error which says ' column image cannot be null ' It appears not to send any data to the database. Has anybody any idea how I can do this. Many Thanks
Simon
Replies
Replied 27 Nov 2004 22:36:58
27 Nov 2004 22:36:58 Simon Martin replied:
The file field is a nasty beast. Hard to use in the same form as normal text as its Enctype needs to be different because its a graphic.
There is a very handy extension, Pure ASP Upload (also php, and .net versions www.dmxzone.com/showDetail.asp?TypeId=3&NewsId=1622 that you might like to look at.
Otherwise there's some painful handcoding involved
Live the life you love
Love the life you live
Simon
[DWMX 2004]|[SQL]|[ASP/VBScript]|[XP-Pro]
There is a very handy extension, Pure ASP Upload (also php, and .net versions www.dmxzone.com/showDetail.asp?TypeId=3&NewsId=1622 that you might like to look at.
Otherwise there's some painful handcoding involved
Live the life you love
Love the life you live
Simon
[DWMX 2004]|[SQL]|[ASP/VBScript]|[XP-Pro]