• 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

Using if(isset($_POST['submit'])) to not display echo when script is open is not working

PHP Startup: Unable to load dynamic library 'openssl' in Ubuntu

Call to a member function givePermissionTo() on null

Upload a file Using PHP and JavaScript

How to update array value in Laravel

Warning: A non-numeric value encountered

Only on Firefox "Loading failed for the <script> with source"

array_map triple dimensional array [duplicate]

Unable to create lockable file - Laravel 8 & PHP 8

PHPExcel file download using AJAX call

definer/invoker of view lack rights to use them

Autoloading classes in PHPUnit using Composer and autoload.php

Match csv filenames to table names and import

How do I upload a laravel project on cPanel shared hosting?

Laravel/ PHP: Order By Alphabetical with numbers in order [duplicate]

About Contact Privacy policy Terms and conditions