Category : multiple-insert

<?php $con = mysqli_connect(‘localhost’,’root’); if(!$con){ echo " ERROR established ".mysqli_error($con); } // Store ProfessionalProfileDoctor // $docid=$con->insert_id; mysqli_select_db($con,’doctorzonepk_database’); // Using database connection file here if(isset($_POST[‘save’])){ $title = $_POST[‘title’]; $fullname = $_POST[‘fullname’]; $email = $_POST[’email’]; $phone = $_POST[‘phone’]; $password = $_POST[‘password’]; $experience = $_POST[‘experienceY’]; $city = $_POST[‘city’]; // $primaryspecialization = $_POST[‘primary’]; $secondaryspecialization = $_POST[‘secondary’]; $pmdc = $_POST[‘pmdc’]; ..

Read more

i have 5 users in my database expires i need to extension the users but if i select 2 users it’s don’t working that’s my code echo ‘<div style="overflow-x:auto;"> <table class="table bg-primary" border="15"> <td><center><h3><form method="post" action="" > <div class="md-form mt-0"> <center><label><h3><center>users name</center></h3></label></center> <select class="form-select" size="10" multiple name="users">’; $query1 = mysqli_query($link, " SELECT * FROM rm_users ..

Read more

i have the problem, how to insert with multiple form. in here i have file this is the form = tambah_siswa_akl.php <?php session_start(); if( !isset($_SESSION["login"]) ) { header("Location: login.php"); exit; } require ‘functions.php’; // cek apakah tombol submit sudah ditekan atau belum if( isset($_POST["submit"]) ) { if( tambah_akl($_POST) > 0 ) { echo " <script> ..

Read more

i have the problem, how to insert with multiple form. in here i have file this is the form = tambah_siswa_akl.php <?php session_start(); if( !isset($_SESSION["login"]) ) { header("Location: login.php"); exit; } require ‘functions.php’; // cek apakah tombol submit sudah ditekan atau belum if( isset($_POST["submit"]) ) { if( tambah_akl($_POST) > 0 ) { echo " <script> ..

Read more