• 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 make a array inside array?

Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables 11 [closed]

Malformed MIME header error in Symfony 5.3

Saving Data from form to database using AngularJS and php

Adding custom body class to the custom archive pages

PHP: How to solve ob_start() in combination imagepng() issue?

CSV to PHP class properties

Laravel Jetsream Profile page not loading on fresh install

Ajax GET request fails in laravel 8

Why does array_map() with null as callback create an "array of arrays"?

Read users and passwords from a txt file

PHP -> Next nearest date defined by array of days in week

PHP array, move keys and values to new array, but mix it up

Laravel implode array items to new lines

Detect emoticons in string

About Contact Privacy policy Terms and conditions