<?php include 'connections.php';//db ?> <button type="button" class="btn btn-primary btn-sm" onclick="myFunction()" id="reqst">Submit</button> <script> function myFunction(){ // include connections.php file // need to perform sql operations like select,insert etc. } </script> <?php } ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)