• 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

How to put php code inside opening and closing shortcodes

PHP Deprecated issue when running artisan command

The "client_reference_id" argument is not passed

Adding multiple items to WooCommerce cart at once

XAMPP keeps showing Dashboard/Welcome Page instead of the Configuration Page

Group data in a multidimensional array based on two columns

Show rotation of tweets using current day of month

how to remove white space in select 2

How to remove from a multidimensional array all duplicate elements including the original?

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

Laravel 5.1 Unknown database type enum requested

WordPress Subquery returns more than 1 row on SELECT

Get data from accuweather api url

Laravel 5.2: Unable to locate factory with name [default]

Hi, I am making a contact form thingy, and my php isn't working any reason why?

About Contact Privacy policy Terms and conditions