What is the best CLASS for DB connection?

|
man9193 2021-08-21 10:52:29
Phpdev21 2021-08-21 10:29:30
Ajax

any other way?

if not, what exactly should i learn/use, coz i don’t know ajax

Kofi 2021-08-21 11:07:31
tracygrey57 2021-08-21 05:15:45

Start by removing the *../* in front of the address,
use this
$destination_path = “C:UsersusernamePicturesSaved Picturesallimages/”.$image_name;

make sure you replace *username* by your username

amanaln 2021-08-21 11:39:06
Hi koi MySQL me karega
amanaln 2021-08-21 11:41:44
codeslide-41842.jpg
Mai chahta hu iss result me result na aaye jo mai id du
Kofi 2021-08-21 11:43:58
Swetha Sri 2021-08-20 15:42:51
But it’s deleting if I press cancel

because the <a> link tag is working
after the confirm, even if you say cancel, the link will work
remove the <a> change it to a div, button or span

Kofi 2021-08-21 11:58:13
Swetha Sri 2021-08-20 12:48:17
Can anyone pls fix why deletion is happening even when click on cancel

function confirmAction() {
if (confirm(“Are you sure to delete?”)){
$.ajax({
//your code
})
}else{
alert(“Action Cancelled”)
}
}

Swetha Sri 2021-08-21 19:07:47
Kofi 2021-08-21 11:58:13
function confirmAction() {
if (confirm(“Are you sure to delete?”)){
$.ajax({
//your code
})
}else{
alert(“Action Cancelled”)
}
}

No its not working I already tried this way

amanaln 2021-08-21 21:02:03
codeslide-41880.jpg

amanaln 2021-08-21 21:02:03
codeslide-41879.jpg
I’m confused why I’m getting this error please someone help me
iaj0hn 2021-08-21 21:14:18
amanaln 2021-08-21 21:02:03

Hi @amanaln to my best knowledge, the HeaderInfo.php expects a parameter to be passed as $key and you didn’t provide any I presume

amanaln 2021-08-21 21:16:39
iaj0hn 2021-08-21 21:14:18
Hi @amanaln to my best knowledge, the HeaderInfo.php expects a parameter to be passed as $key and you didn’t provide any I presume

But I passed a parameter

iaj0hn 2021-08-21 21:19:37
amanaln 2021-08-21 21:16:39
But I passed a parameter

I said this because the error is coming from line 12 which is inside the ifParamFound() method. Also, the error said the key you passed is undefined…

iaj0hn 2021-08-21 21:20:11
Are you extending the HeaderInfo Class to another class?
amanaln 2021-08-21 21:59:54
iaj0hn 2021-08-21 21:19:37
I said this because the error is coming from line 12 which is inside the ifParamFound() method. Also, the error said the key you passed is undefined…

Oh now I realise I forget to add isset thanks bro

Basit Patel 2021-08-21 22:00:05
mahros_elqabasy 2021-08-19 23:58:19
what is the best CLASS for DB connection?

Mysqli

WaseemBittu 2021-08-22 16:16:56
PDO has little more advantages then mysqli
Spaned17 2021-08-22 17:32:26
mahros_elqabasy 2021-08-19 23:58:19
what is the best CLASS for DB connection?

PDO

mahros_elqabasy 2021-08-22 17:34:47
WaseemBittu 2021-08-22 16:16:56
PDO has little more advantages then mysqli

Ok

amanaln 2021-08-22 19:55:23
codeslide-41944.jpg
How to change this icon color when input box hover
amanaln 2021-08-22 19:55:24
codeslide-41945.jpg

amanaln 2021-08-22 20:04:36
Koi help kr do
Yash 2021-08-22 22:13:44
codeslide-41953.jpg

tracygrey57 2021-08-23 06:28:20
Anyone online
mahros_elqabasy 2021-08-23 06:29:12
Where ?
tracygrey57 2021-08-23 06:29:28
Why does the image don’t want to shoe anyone help
tracygrey57 2021-08-23 06:30:48
codeslide-41966.jpg

tracygrey57 2021-08-23 06:30:59
codeslide-41967.jpg

mahros_elqabasy 2021-08-23 06:31:16
tracygrey57 2021-08-23 06:29:28
Why does the image don’t want to shoe anyone help

where?

tracygrey57 2021-08-23 06:32:44
tracygrey57 2021-08-23 06:30:48

Here

mahros_elqabasy 2021-08-23 06:33:19
tracygrey57 2021-08-23 06:32:44
Here

where is the name of this pic? In php Variable

Weprohub_support 2021-08-23 06:34:53
Ahrefs available 299 per months, come ib
mahros_elqabasy 2021-08-23 06:36:08
You have to put the whole path in PHP and then take the variable to html
Devadharshan 2021-08-23 09:30:34
Hai
Devadharshan 2021-08-23 09:32:19
Any one know how to solve this CORS error
Devadharshan 2021-08-23 09:32:40
codeslide-41982.jpg

|