• 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

PHP Form Not Inserting

Why rand() every time I refresh the page?

VichUploaderBundle error "Expected argument of type "File", "NULL" given" when submitting the form without selecting any file

Nginx disallowing execution of PHP in uploads directory with Magento

Adding hreflang tags automatically in WordPress subdirectory multisite

Form repeater send wrong data with last element in Laravel

str_word_count() function doesn't display Arabic language properly

Spam Filter in Contact Form

Laravel Get Days In Month From Month Number?

PHPExcel_IOFactory::createWriter causes wrong behaviour

Insert a DIV after the 6th product only once in WooCommerce category archives

How can I get new CSRF token in LARAVEL by using ajax

How can I easily switch between PHP versions on Mac OSX?

Need to display only array value in JSON output

PHPS source file - 403 Forbidden You don't have permission to access this resource

About Contact Privacy policy Terms and conditions