• 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

Update Total in checkout of Woocommerce with Ajax Request

Facebook SDK error: Cross-site request forgery validation failed. Required param "state" missing from persistent data

How to show a popup modal in codeIgniter?

Add customer email and phone in "Order" column to admin orders list on Woocommerce

How to submit a form when page loads using JavaScript?

Override default Auth routes in Laravel 7

WooCommerce: Add/display Product or Variation custom field everywhere

Laravel Database Strict Mode

Prevent blank space in pdf pages (DomPdf)

XML to CSV with PHP converter [problem with images grabing]

Laravel 8 Multiple Relationships for Factory

Laravel: Why is my variable not being set while it's in the construct function of the controller?

Laravel display validation error

Boolean assignment operators in PHP

backup files to google drive using PHP

About Contact Privacy policy Terms and conditions