Image support for text boxes

megavan

Disciple
How do you add an 'add image' option to a textbox to allow uploading of images from the local hdd? The text from the textbox and associated images should preferably go the different db tables though. And on that note, what's the best method to store images in a mysql database
 
hmm . are u dealing with a desktop application or a web based one ?

ur not making yourself completely understood by asking how to "add an image to a textbox" . technically it cant be done ,im sure u mean the path.

usually you dont strore images in a db . u store the path of the file . and the use that path in hte src attribute of the
tag in html .
 
It's a web based one. It's sort of a q&a based system where you'll have a list of questions followed by a textbox (or was it a text area? the bigger text boxes with scrolls and everything) for answers. So I wanted to have some way of allowing attachment of pictures uploaded from the user's own hdd to each of the text fields so when he later retrieves the submitted page, the questions(each of them) should be followed by answers along with the associated images.
And i'm using asp and mysql btw
 
Back
Top