We can easily show javascript alert box using php code.
Find the code below :
<?php
echo ("<SCRIPT LANGUAGE='JavaScript'>
window.alert('Successfully Saved')
window.location.href='index.php'
</SCRIPT>");
?>
Amazon Brand - Supples Premium Baby Diaper Pants | 62 Baby Diapers | Large | 9-14 Kg | 12 Hrs Absorption | Cushiony Cotton Soft Fabric | Phthalates-Free | Triple Leak Guard
₹489.00 (as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Himalaya Gentle Baby Shampoo 400ml with Hibiscus, Chickpea | No Tears | pH 5.5 | No.1 Doctor Recommended Brand | Cleanses, Softens & Nourishes hair | Safe for Newborns | Hypoallergenic
₹231.00 (as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)One94Store Astronaut Galaxy Projector Night Light – 360° Rotating Nebula Star Projector with Remote Control, Timer & Adjustable Head – Space Lamp for Kids’ Bedroom, Gifts, Gaming Room, Home & Décor
Now retrieving the price.
(as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Little's Soft Cleansing Baby Wipes with Lid | 80 Wipes x Pack of 3 - 240 Wipes | Extra Thick & Moist Wet Wipes for Baby's | Prevents Rashes & Redness with Goodness of Aloe Vera, Vitamin E & Jojoba Oil
₹214.00 (as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Huggies Complete Comfort Wonder Pants | Pant Style Baby Diapers Extra Large Size (XL), 56 Count | India's Fastest Absorbing Diaper, Prevents Diaper Rash, Ideal for 12 to 17 Kgs
₹621.00 (as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)StarAndDaisy Baby Carrier for 0 to 3 Year Baby Carrying Bag/Carrier for new Born with 2 Carry Positions Front & Back Baby Carrying Bag with Breathable Fabric & M Shape Support (Brown)
₹1,399.00 (as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Jr. Sr. Baby Wipes With Lid | 72 Wipes x Pack of 6, 432 Wipes | Safe & Moist Wet Wipes for Babies | Prevents Rashes & Redness with Goodness of Aloe Vera, Vitamin E & Chamomile Oil | No Paraben & No Alcohol
Now retrieving the price.
(as of June 22, 2026 23:34 GMT +05:30 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)