What's the best way to allow users to upload images to an SQL database on a server? I was thinking upload the pic, and then store the path name in a field on the table? Or is there an easier way? Thanks in advance.
Adding Images to an SQL DB
You could do this by using files...and yes...you could enter the path in the database..
OR the easy way, by using BLOB...could store megabytes files..pics,videos..etc. in the database...click here for an example...http://www.php-mysql-tutorial.com/php-mysql-upload.php
OR the easy way, by using BLOB...could store megabytes files..pics,videos..etc. in the database...click here for an example...http://www.php-mysql-tutorial.com/php-mysql-upload.php
Related topics
