• 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 to separate letters and digits from a string in php

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

Laravel Multi-language routes without prefix

CodeIgniter force_download is not working

Sort a multidimensional array by integer inside of a string value which is two levels down

Check for PDO Results, If None Display Message, If Yes then Loop Through

Hide specific products from unlogged users based in product category in WooCommerce

I'm trying to write a clean url for my website using the $_SERVER['REQUEST_URI'] in php

Make certain characters of a word from string bold

Convert date and time to Jalali in Laravel

Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: ) in Unknown on line 0

Post Form Data To phpmyadmin Database

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

Adding custom body class to the custom archive pages

How to update array value in Laravel

About Contact Privacy policy Terms and conditions