• 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 - installing Xdebug on Mac with XAMPP (Unix File)

Laravel unique validation on multiple columns

SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'column_name' in Laravel

Can't remotely connect to MySQL error (13) with PHP script, connecting through CLI works

phpseclib 2.0 can not use Composer to create autoload

WAMP Virtual Host not working

How to debug in WooCommerce 3+

How to get the ID of the link in another page in php

Correct way to use LIKE '%{$var}%' with prepared statements?

PHP: PDO + CSV export not downloading (headers issue?)

how do i retrieve and display the alt text of an image in wordpress?

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

How to get median and quartiles/percentiles of an array in JavaScript (or PHP)?

Can't exclude directories from .htaccess mobile redirect?

Return multiple values from a function using mysqli_fetch_assoc [closed]

About Contact Privacy policy Terms and conditions