• 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

str_replace or preg_replace random number from string

Add bold text and line break into Laravel Notification Email

WordPress - Dynamically add user ID to the end of a URL

How to get the survey List from surveygizmo API in the Postman?(Trial Version)

PHP function Not Working As Expected From functions.php Include File

"There is no active transaction" when refreshing database in Laravel 8.0 test

PHP - Check if string contains words longer than 4 characters, then include "+ *", and for those shorter than 4 characters include only "*"

Adding hreflang tags automatically in WordPress subdirectory multisite

carbon generated datetime not stored correctly into the database

Call to a member function fetch_field() on a non-object MySQLiDB

How to to send mail using gmail in Laravel?

How to show selected value using javascript in laravel

codeigniter 4 running error first time with xampp

Shortcode or PHP inside a shortcode in Wordpress

Adding multiple items to WooCommerce cart at once

About Contact Privacy policy Terms and conditions