• 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

protect my blog content

mysql slow on updates for a well optimized query

How to add class name to an existing tag in php

Custom Button next to “ADD TO CART” button of WooCommerce based on Product Type

Is there a way to correctly use sanitize_text_field and wp_unslash that doesn't cause psalm to error with "expects string, possibly different type"

Extract house numbers from address string

Laravel/ PHP: Order By Alphabetical with numbers in order [duplicate]

send email using gmail-api and google-api-php-client

Log a user out of a website when they put their computer to sleep

How to get transaction details in notify_url page in paypal

How can I make a full text index of the column?

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

SQL AVG() to 2 decimals

Invalid value in field "itemtype" in Google Search Console

How to show a popup modal in codeIgniter?

About Contact Privacy policy Terms and conditions