• 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

WordPress Subquery returns more than 1 row on SELECT

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

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

PHP: Calling MySQL Stored Procedure with Both INPUT AND OUTPUT Parameters (NOT "INOUT")

HTML and PHP in one file

I want to store data in new index as per my key in php [duplicate]

Split a string array into pieces

Implode columnar values between two arrays into a flat array of concatenated strings

Fatal error: [] operator not supported for strings

Magento 2 - How to add new block to admin panel in product page?

Converting IPv6 to IPv4 address in PHP

PDOException SQLSTATE[HY000] [2002] No such file or directory

(Laravel) How to delete multiple models including optional relationships?

Upload a file Using PHP and JavaScript

str_replace or preg_replace random number from string

About Contact Privacy policy Terms and conditions