Answer the question
In order to leave comments, you need to log in
How to organize image file naming in MySql database?
There is a list of clients, respectively, each of them has some textual information and his photo. With the growth of the list of clients, I decided to transfer everything to the MySQL database so that all new ones are automatically recorded in it.
But I ran into this problem. Text information has already been entered into the clients table, but now each client needs to match the photo that is already uploaded to the server and each file has the name and surname of the corresponding client, but in Russian. How to solve such a problem? What php functions to use to rename/name uploaded/downloaded files?
And the question is about the database itself, should I make a separate table for paths to photos or add a new field to the existing one?
Answer the question
In order to leave comments, you need to log in
And the question is about the database itself, should I make a separate table for paths to photos or add a new field to the existing one?
files, in my opinion, it is better not to store in the database.
and on the topic google php move_uploaded_file. google php rename files
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question