• 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

loop through an anchor id

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

stay with the last 15 elements of an array [duplicate]

json_encode turns array into an object

Reorder attribute dropdown terms in Woocommerce single variable products

500 (Internal Server Error) with Laravel & Docker [duplicate]

Render the content of default_filter.php in Joomla front-end

Unsure why I am getting: Number of variables doesn't match number of parameters in prepared statement

Unable to create lockable file - Laravel 8 & PHP 8

How to submit a form when page loads using JavaScript?

php echo xml documents with header

Alert message after submitting form in PHP

WHM Enabling mod_rewrite

How to get page number on dompdf PDF when using "view"

How to trim a video by 4 fragments to 4 seconds using the PHP-FFMpeg?

About Contact Privacy policy Terms and conditions