File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/dhyeyaprakashan.com/admin/searching_data.php
Back
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">--> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> <script rel="javascript" type="text/javascript" href="js/jquery-1.11.3.min.js"></script> </head> <?php include 'core/init.php'; mysqli_query($mysqli,"SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'"); mysqli_set_charset($mysqli,'utf8'); if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql1 = mysqli_query($mysqli, "SELECT * FROM `payment`"); $result1s1 = mysqli_num_rows($sql1); echo'<div class="col-sm-12 table-responsive mt-4"> <div class="row"> <div class="col-md-3 form-group"> </div> </div> </div> <table class="table cart-table" id="myTable" style="margin-bottom: 40px"> <thead> <tr class="table-head"> <th scope="col">ID</th> <th scope="col">Booking_id</th> <th scope="col">Name</th> <th scope="col">Email</th> <th scope="col">Address</th> <th scope="col">Mobile</th> <th scope="col">City</th> <th scope="col">Amount</th> </tr> </thead> <tbody>'; ?> <?php while($result1 = mysqli_fetch_array($sql1)){ $id = $result1['id']; $name = $result1['booking_id']; $product_name = $result1['name']; $price = $result1['email']; $image = $result1['address']; $image = $result1['mobile']; $image = $result1['city']; $image = $result1['amount']; ?> <tr> <td class='align-middle'><?php echo $result1['id']; ?></td> <td class='align-middle'><?php echo $result1['booking_id']; ?></td> <td class='align-middle'><?php echo $result1['name']; ?></td> <td class='align-middle'><?php echo $result1['email']; ?></td> <td class='align-middle'><?php echo $result1['address']; ?></td> <td class='align-middle'><?php echo $result1['mobile']; ?></td> <td class='align-middle'><?php echo $result1['city']; ?></td> <td class='align-middle'><?php echo $result1['amount']; ?></td> </tr> <?php }; ?> <?php echo '</tbody></table></div>'; ?> <!--<script> $(window).load(function () { var custname = $("#custname").val(); var custmobile = $("#custmobile").val(); var sendata = "all_search=all_search&custname=" + custname + "&custmobile=" + custmobile; call_ajax(sendata); }); function call_ajax(sendata) { $(window).scrollTop($('#unseen').offset().top); $('#unseen').css("display", "block").html('Loading...'); $.ajax({ type: "POST", url: "dashboardpagination.php", dataType: 'text', data: sendata, success: function (data) { $(window).scrollTop($('#unseen').offset().top); $('#unseen').css("display", "block").html(data); } }); } $("body").on("keyup", " #custname", function(e) { e.preventDefault(); var custname = $("#custname").val(); var custmobile = $("#custmobile").val(); var sendata = "all_search=all_search&custname=" + custname + "&custmobile=" + custmobile; call_ajax(sendata); }); $("body").on("keyup", "#custmobile", function(e) { e.preventDefault(); var custname = $("#custname").val(); var custmobile = $("#custmobile").val(); var sendata = "all_search=all_search&custname=" + custname + "&custmobile=" + custmobile; call_ajax(sendata); }); </script>--> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings