skip to Main Content

MYSQL Basic Select

Hello since I am new to mysql I have one question regarding selection. I am studying on https://www.w3schools.com/ and practicing on https://www.hackerrank.com/. On hackerrank.com I have a question: Query the list of CITY names starting with vowels (i.e., a, e,…

VIEW QUESTION

Mysql – I'm trying to make loginform check using knex but it doesn't work

My Code: function checkLogIn() { var emailValue = document.getElementById("emails").value; var usernameValue = document.getElementById("username").value; var passwordValue = document.getElementById("password").value; knex("users").select("id").where({ email: emailValue, username: usernameValue, password: passwordValue, }); } It should takes values from HTML and compare HTML values with MySQL DB values.…

VIEW QUESTION

Mysql – login form SQL unknown column at process-login.php

Fatal error: Uncaught mysqli_sql_exception: Unknown column 'carikrowo' in 'where clause' in C:xampphtdocsData Ipedaproses-login.php:10 Stack trace: #0 C:xampphtdocsData Ipedaproses-login.php(10): mysqli->prepare('SELECT * FROM p...') #1 {main} thrown in C:xampphtdocsData Ipedaproses-login.php on line 10 here is the process-login.php full code <?php session_start(); require_once("database.php");…

VIEW QUESTION
Back To Top
Search