php - how to store an image and a text in a database in mysql -
i want to store recipes in database, format of recipes should small photo on top , text below. explain me how structure should be?
thanks in advance
i avoid storing actual bytes of image in database, that's bad idea (see storing images in db - yea or nay?). instead, create simple text
field stores perhaps markdown version of recipe page. page include image tag pointing image or recipe instructions.
Comments
Post a Comment