Why do you want to save the images outside the root folder of your project?

|
Citizen_General 2021-08-20 15:28:25
My approach is using a popup
Here the delete button will popup a notification to delete
I put the a tag on the popup.
No javascript needed
Swetha Sri 2021-08-20 15:42:51
But it’s deleting if I press cancel
Adarsh_A 2021-08-20 16:37:00
Swetha Sri 2021-08-20 12:48:17
Can anyone pls fix why deletion is happening even when click on cancel

There’s error in else block last line of alert there is extra
}

Swetha Sri 2021-08-20 16:37:28
That’s the function ending
2021-08-20 16:51:30
Phpdev21 2021-08-19 20:45:53
Easy

How

Citizen_General 2021-08-20 17:10:52
Swetha Sri 2021-08-20 12:48:17
Can anyone pls fix why deletion is happening even when click on cancel

Delete the href from the a tag

Swetha Sri 2021-08-20 17:11:40
Tried but not working
Citizen_General 2021-08-20 17:13:49
Swetha Sri 2021-08-20 17:11:40
Tried but not working

Try using the approach i was talking about

Swetha Sri 2021-08-20 17:14:01
Ok
Citizen_General 2021-08-20 17:14:57
Ignore the JavaScript
Swetha Sri 2021-08-20 17:46:44
No
Swetha Sri 2021-08-20 17:46:57
Called in a tag
Jalvaradof 2021-08-20 18:29:01
alguien sabe como paginar muchos varlores de sql en una tabla html?? yo lo hago con un echo en php pero quiero optimizarlo cuando pasa de 5000 archivos se detiene

does anyone know how to paginate many sql variables in a html table ?? I do it with an echo in php but I want to optimize it when it goes beyond 5000 files it stops

Decostarocky 2021-08-20 18:36:25
Jalvaradof 2021-08-20 18:29:01
alguien sabe como paginar muchos varlores de sql en una tabla html?? yo lo hago con un echo en php pero quiero optimizarlo cuando pasa de 5000 archivos se detiene

does anyone know how to paginate many sql variables in a html table ?? I do it with an echo in php but I want to optimize it when it goes beyond 5000 files it stops

Use JS

Decostarocky 2021-08-20 18:36:43
Jalvaradof 2021-08-20 18:29:01
alguien sabe como paginar muchos varlores de sql en una tabla html?? yo lo hago con un echo en php pero quiero optimizarlo cuando pasa de 5000 archivos se detiene

does anyone know how to paginate many sql variables in a html table ?? I do it with an echo in php but I want to optimize it when it goes beyond 5000 files it stops

Google for pagination with php

Citizen_General 2021-08-20 18:37:44
Citizen_General 2021-08-20 15:28:25
My approach is using a popup
Here the delete button will popup a notification to delete
I put the a tag on the popup.
No javascript needed

Could you use this approach

Musa Sane 2021-08-20 22:32:49
That’s a thing?
tracygrey57 2021-08-21 01:10:14
Citizen_General 2021-08-20 11:14:40
Dont forget to use move_uploaded_file

i used all but still having the problem image is not saving in database and folder

tracygrey57 2021-08-21 01:12:28
codeslide-41804.jpg

tracygrey57 2021-08-21 01:12:48
codeslide-41805.jpg

Seo J 2021-08-21 03:56:37
as explained
Seo J 2021-08-21 03:56:56
Thanks, let’s see
Adarsh_A 2021-08-21 04:57:45
tracygrey57 2021-08-21 01:12:48

Your destination path is wrong. That should not be ‘ThisPC’ Windows don’t know path of ‘ThisPC’ instead of this write there:
C://users//<your username>//pictures

tracygrey57 2021-08-21 04:59:50
Adarsh_A 2021-08-21 04:57:45
Your destination path is wrong. That should not be ‘ThisPC’ Windows don’t know path of ‘ThisPC’ instead of this write there:
C://users//<your username>//pictures

hi what username username for?

Adarsh_A 2021-08-21 05:08:04
tracygrey57 2021-08-21 04:59:50
hi what username username for?

Your username I mean just what your username is when you login your pc. if you don’t know that just open Command Prompt and type
echo %username%
You will get output

tracygrey57 2021-08-21 05:09:01
Adarsh_A 2021-08-21 05:08:04
Your username I mean just what your username is when you login your pc. if you don’t know that just open Command Prompt and type
echo %username%
You will get output

oh ok sorry let me try agian

Adarsh_A 2021-08-21 05:09:07
Ok
tracygrey57 2021-08-21 05:15:45
codeslide-41814.jpg

tracygrey57 2021-08-21 07:16:05
still the same
Phpdev21 2021-08-21 07:32:19
tracygrey57 2021-08-21 05:15:45

Cheeck path

Phpdev21 2021-08-21 07:33:22
First move file in project folder cheek file upload or not then another path movr
Adarsh_A 2021-08-21 08:36:59
tracygrey57 2021-08-21 07:16:05
still the same

codeslide-41826.jpg
your path destination like this

man9193 2021-08-21 10:01:33
<script>
function myFunction()
{
delivered = confirm(“Did the product delivered?”);
if(delivered)
{
// php command to update database
}
}
</script>

how to embed php in the above javascript code?

Phpdev21 2021-08-21 10:29:30
man9193 2021-08-21 10:01:33
<script>
function myFunction()
{
delivered = confirm(“Did the product delivered?”);
if(delivered)
{
// php command to update database
}
}
</script>

how to embed php in the above javascript code?

Ajax

Kofi 2021-08-21 10:50:06
tracygrey57 2021-08-21 05:15:45

why do you want to save the images outside the root folder of your project ?

|