I have a website which sells some products to customer.
I want to have a alert notification popup or sound when ever a new order is inserted into mysql db.
I was searched several hours to find a solution with ajax but i'm new to ajax implementation stuck now.
I don't need a complicate method if i can get only a notification it would be ok for me.
If anyone give me hint or more detail reference or guide ... much appreciate!
This is mysql insert query:
$result2 = mysqli_query($con, "INSERT into user (emailPrefix,password1,address,address2,orderRnd,dateEmail,name5,phone, date)
VALUES ('$emailPrefix','$password1','$address','$address2','$orderRnd','$dateEmail','$name5','$phone','$date')");