Category : mysql

I created a database in phpmyadmin, I wrote PHP code in connect.php, I wrote code in signin.html, I connected them all together. But still, it does not work. Here is my signin.html code: <form method="post" action="connect.php"> <label>First Name…</label> <input type="text" placeholder="" id="firstName" name="firstName"> <label>Last Name…</label> <input type="text" placeholder="" id="lastName" name="lastName"> <label>Email</label> <input type="email" placeholder="" id="email" ..

Read more

I Have two database like "all_data_list" and other is "store_product" like this all_data_list tablestore_product table this is the php code <?php $servername = "localhost"; $username = "rajubcgh_bukhara_store"; $password = "bukhara_store"; $dbname = "rajubcgh_bukhara_store"; $con=mysqli_connect($servername,$username,$password,$dbname); if(!$con){ die(" error conn ?".mysqli_error()); } else{ $sucess = "Connect Success!"; } if(isset($_POST[‘submit’])){ $no = $_POST[‘no’]; $date = $_POST[‘date’]; $req_by = ..

Read more

I have edited my.ini File [mysqld] default_authentication_plugin= mysql_native_password, and also used the ALTER USER ‘mysqlUsername’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘mysqlUsernamePassword;’ command to solve the caching_sha2_password problem in MySQL, but PHP still shows me these warnings: Warning: mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password] Warning: mysqli_connect(): (HY000/2054): The server requested authentication method ..

Read more

I am trying to make a filter/search table and I am using the JavaScript from this site. Here’s the script: function myFunction() { // Declare variables var input, filter, table, tr, td, i, txtValue; input = document.getElementById("myInput"); filter = input.value.toUpperCase(); table = document.getElementById("myTable"); tr = table.getElementsByTagName("tr"); // Loop through all table rows, and hide those ..

Read more