• 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 run a shell as root from php (apache)

Convert every two values of an associative array into key-value pairs

Composer Script echo

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

XDebug not working in VScode for php debugging

Whats the point of running Laravel with the command 'php artisan serve'?

How can I stop a symfony process which is listening on http://127.0.0.1:8000

Adding one microsecond to Datetime object in PHP

I can't delete my image when it is liked because of the foreign key in mysql

Live search query using JS and PHP for QA forum

how can I set a session variable in Drupal 8 and get it in a php script?

PHP returning an error message and false

PHP using str_starts_with for array to exclude same as with wildcard

Laravel unique validation on multiple columns

Get latest Tweets - What API

About Contact Privacy policy Terms and conditions