MySQL Questions...NEED HELP
Moderator: General Moderators
MySQL Questions...NEED HELP
How could I display images shared into mysql.......thanks for your help..
pull the information (ie the url to the image) from the db and display it with html...
Code: Select all
echo'<img src="' . $url . '">';Re: MySQL Questions...NEED HELP
OK I TRY IT
Using blob (Binary Large OBject), you can store the image itself in MySQL. To be honest though, I'm not sure how to do it. I have also heard of a way to 64bit encode an image, and store it in a field of type 'text'. I'd try blob though.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.