• 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

Creating command to backup MySql database in Laravel

Spam Filter in Contact Form

how to use extended ASCII instead of unicode in PHP

PHP, how to convert Int value to Week days

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

php script to delete files older than 24 hrs, deletes all files

Navigation idle on content download

SendGrid: Sending an email to multiple recipients without other emails being shown on the "to" field

Laravel Database Strict Mode

How to keep value of selected value after form submission?

Last order would be re-order in wooCommerce. How is it possible?

insert multiple rows in a saveall in cakephp

PHP my timezone is no setting up in PHP.ini File in xampp

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

Minimum order amount except for specific shipping method in WooCommerce

About Contact Privacy policy Terms and conditions