• 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 do I Post to .txt document before form submits

Symfony Error: "An exception has been thrown during the rendering of a template"

Chunk and transpose a flat array into rows with a specific number of columns

How to to send mail using gmail in Laravel?

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'posts.post' doesn't exist

javascript html popup window

PHPUnit gives error: Target [IlluminateContractsViewFactory] is not instantiable

Best way to scrolldown onpageload

Merge key and value of array index [duplicate]

How to debug in WooCommerce 3+

Problems getting instance of UploadedFile in Yii2

Symfony Make:Migration : The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue

Adding custom body class to the custom archive pages

how to redirect the user back to desired URL after login page in PHP?

RuntimeException: Unable to create the cache directory (/var/www/sonata/app/cache/dev)

About Contact Privacy policy Terms and conditions