• 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

Upload a file Using PHP and JavaScript

Why rand() every time I refresh the page?

CONCAT columns with Laravel 5 eloquent

How to KeyBy where multiple items have the same key

AJAX call fails with SyntaxError: Unexpected end of JSON input

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given [duplicate]

Handling expired token in Laravel

Why does using salted hash on python and php give me different results?

Post Form Data To phpmyadmin Database

Google API Heatmap Layer exception, why?

Comma separated list from array with "and" before last element

Add restriction to WooCommerce coupons by allowed user ID

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

I want to store data in new index as per my key in php [duplicate]

Filter WooCommerce products with post__in and additional meta queries

About Contact Privacy policy Terms and conditions