• 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

carbon generated datetime not stored correctly into the database

How to extract price from given url using Xpath?

PHP: How to solve ob_start() in combination imagepng() issue?

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

Remove categories with all childs derived from parent category

Add Class in html Dynamically in PHP

how to see if database exists with PDO [duplicate]

Yii2 redirecting to previous page after login

Composer Curl error 60: SSL certificate problem: unable to get local issuer certificate

Timber: Single post pagination does not work (wp_link_pages)

How to fix " Uncaught TypeError: Argument 1 passed to JpGraphException::defaultHandler() " problem in php 7.1.3 and jpgraph 4.2.6?

Can't exclude directories from .htaccess mobile redirect?

How to get variable from JavaScript to PHP [duplicate]

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name' cannot be null

How can I easily switch between PHP versions on Mac OSX?

About Contact Privacy policy Terms and conditions