Form Generate - Auto Form Generator Using Bootstrap & PHP
Form 1 > Normal Generate
Form 2 > Generate Using Database Data
Header Footer Generate for Admin Panel
Login System for User
OTP Base Login System
Card for Admin Panel
Boostrap Banner Dynamic
Change Password
Email
Password Change Option for Admin
Pagination
header & footer
<?php include("header.php"); ?> <?php include("dbcon.php"); ?> <?php include("footer.php"); ?>
datetime
<?php date_default_timezone_set("Asia/Calcutta"); $datetime = date("Y-m-d H:i:s"); $date = date("Y-m-d"); ?>
dbcon.php
<?php $host = "localhost"; $user =""; $pwd = ""; $dbname = ""; $con = mysqli_connect("$host","$user","$pwd","$dbname"); if($con==true){}else{echo "DB NOT CON";} ?>
total
<?php $total = mysqli_num_rows(mysqli_query($con,"")); ?>
select query 1
<?php $sql = "SELECT * FROM `user`"; $run = mysqli_query($con,$sql); $i = 1; while($getdata = mysqli_fetch_array($run)){ ?> <?php echo $getdata['name']; ?> <?php } ?> $sql = "SELECT * FROM `user`"; $run = mysqli_query($con,$sql); $i = 1; while($getdata = mysqli_fetch_array($run)){ echo $getdata['name']; }
select query 2
<?php $sql2 = "SELECT * FROM `user`"; $run2 = mysqli_query($con,$sql2); $ii = 1; while($getdata2 = mysqli_fetch_array($run2)){ ?> <?php echo $getdata2['name']; ?> <?php } ?>
api hit
<?php $message = ""; $data_array = array( 'api_key' => '', 'sender' => "9933160894", 'number' => "91".$phone, 'message' => $message); $data = http_build_query($data_array); $url = "https://api.msgapi.net/send-message"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_POST,true); curl_setopt($ch, CURLOPT_POSTFIELDS,$data); curl_setopt($ch, CURLOPT_RETURNTRANSFER,true); $resp = curl_exec($ch); ?>
select query 3
<?php $sql3 = "SELECT * FROM `user`"; $run3 = mysqli_query($con,$sql3); $iii = 1; while($getdata3 = mysqli_fetch_array($run3)){ ?> <?php echo $getdata3['name']; ?> <?php } ?>
jqeruy select
onchange="getdata(this.options[this.selectedIndex].value)"
select query 4
<?php $sql4 = "SELECT * FROM `user`"; $run4 = mysqli_query($con,$sql4); $iiii = 1; while($getdata4 = mysqli_fetch_array($run4)){ ?> <?php echo $getdata4['name']; ?> <?php } ?>
auth-db678.hstgr.io
>> Hostinger Database