Answer the question
In order to leave comments, you need to log in
How to upload images from url?
There is a table in which about 800 lines. How can you implement uploading an image using this link to a specific directory and then replacing this link in the table?
Answer the question
In order to leave comments, you need to log in
$items = fetch_items_from_db(); //берем данные с бд
foreach($items as $item){
copy();//копируем в нужную директорию
update_item(); //обновляем в базе данных
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question