• 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

Smarty if isset

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

How to get the total hour from starting time to end time in php

In PHP, which is faster: preg_split or explode?

No definition found for function in vendor vscode

Detect a fetch request in PHP

Unable to Edit config.inc.php

Maatwebsite Excel 3.1 : how do I skip duplicate data when imported?

How to make Canonicals with PHP

The "client_reference_id" argument is not passed

Sync Records With Default Values in Pivot Tables, Call to undefined method syncWithPivotDefaults()

jwt decode throws Invalid argument supplied for foreach() on php-jwt and codeignitor 4

Creating live search with AJAX and CodeIgniter

SQL AVG() to 2 decimals

Autoloading classes in PHPUnit using Composer and autoload.php

About Contact Privacy policy Terms and conditions