• 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

Select option menu read from database and use it's values

Dynamic table in HTML using MySQL and php

Passing PHP JSON to Javascript: echo json_encode vs echo json declaration

protect images from being copied

PHP's array_map including keys

Distribute array row data to make multiple new rows

how to youtube api data to print in toolset metabox using a button click before save-post

Android Volley getParams() method not getting called for JsonObjectRequest

Appending data to an anchor tag

PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: no such host known

httpd.conf on Windows: can't locate API model structure `php8_module`

How to set a domain name with php artisan serve

Artisan, creating tables in database

PHP Deprecated issue when running artisan command

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

About Contact Privacy policy Terms and conditions