• 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

Laravel 4 Redirect::back() not going to previous page (refreshing current page)

How to solve Duplicate entry '0' for key 'PRIMARY' in Wordpress?

SQL AVG() to 2 decimals

Saving Data from form to database using AngularJS and php

Is there a way to use Foundry Model for Authentification inside Functional Tests?

mysql_result is defined but mysql_free_result warns it expected a resource

How to use a PHP MVC Controller, one thats invoked by calling a URL, to call and execute more than one function? [duplicate]

how to redirect the user back to desired URL after login page in PHP?

Make survey at laravel 5.4 and MySQL

Detect emoticons in string

Manage independently the decimal number of the price of each product [duplicate]

file_get_contents() without "Http" to access external URL [closed]

Laravel Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) on a sub query with "ROW_NUMBER() OVER PARTITION"

JQuery content editable div and text box on submit not sending POST

oauth-private.key does not exist or is not readable

About Contact Privacy policy Terms and conditions