• 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

Transform array, set each array element with parent key php

Laravel implode array items to new lines

Entity provider not working in security.yml php symfony3.4 ({"code":401,"message":"bad credentials"}.)

XAMPP/SQLSRV: Unable to find Sqlsrv in PHPINFO(); - errors coming from connection

Unable to match results of php hash_hmac() and coldfusion hmac()

Upload a file Using PHP and JavaScript

Laravel You requested 1 items, but there are only 0 items available

Load a .env file with PHP

Laravel Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) on a sub query with "ROW_NUMBER() OVER PARTITION"

Add Class in html Dynamically in PHP

Magento 2 - Controller returning blank page

How to give apache permission to write to home directory?

How to install ZeroMQ for PHP on an Alpine Linux container?

Refresh specific HTML content that retrieves data from MySQL

Hi, I am making a contact form thingy, and my php isn't working any reason why?

About Contact Privacy policy Terms and conditions