Computer Science, asked by nafi19, 9 months ago

how to store a data in database?​

Answers

Answered by Anonymous
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