• 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

PHP Discord OAUTH2 code sample not working

No result using makeStyles Material UI in react 18

Laravel print last executed SQL query with Query log

Fatal error: [] operator not supported for strings

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

Performance of foreach, array_map with lambda and array_map with static function

Cannot pass null argument when using type hinting

PhpSpreadSheet: How to save Workbook sheets in individual CSV files

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

How to separate letters and digits from a string in php

I need to link Google Sheet with my Laravel

How to write PHP in XSLT

Json_Encode not returning html even i try to encode JSON_HEX_QUOT | JSON_HEX_TAG

What is my SQL missing?

codeigniter 4 running error first time with xampp

About Contact Privacy policy Terms and conditions