• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

I want to display a sweetalert after the inserting of data in my database

javascriptphpmysql


PHP Snippet 1:

    echo "<script>
     swal({ 
      title: "Success",
      text: "Thank you for contacting us. We will get back to you soon!",
      type: "success" 
     });</script>"

Related Snippets

Ajax GET request fails in laravel 8

How can I remove the "Advanced" panel of all blocks in WordPress block editor?

How to submit the custom form data in database in WordPress without plugin using ajax?

Adding Multiple Custom Post Types in Wordpress

How to average columns of data from multiple, flat arrays?

How can i hide dt if dd got empty value

How can I format this number correctly using PHP?

Navigation idle on content download

Laravel/docker-compose/redis - Class 'Redis' not found

WooCommerce: Add/display Product or Variation custom field everywhere

500 Internal Server Error on Ajax request. Not sure the origin of the problem

How can I access an array/object?

Transfer data between JavaScript and PHP through JSON

PHP Fatal error: Class not found - PHPUnit

How to assert parameter attribute sub-structures in PHPUnit mock call expectations

About Contact Privacy policy Terms and conditions