how to store a data in database?
Answers
Answered by
1
Answer:
Once you’ve created the database table, you can begin storing binary data there using PHP. You may be surprised to see how simple that is. All that’s required by the PHP script is a standard INSERT query, using the binary data for the file column value. To grab the file data to be used in the query, you must call the PHP file_get_contents() function, which reads a file into a string:
Explanation:
Similar questions