There are no changes after placing that into the code. Is there a specific place I need to put it?
Moderator: General Moderators
Celauran wrote:Replacing columnA, columnB and 'username' with actual values, yes.
I also find it helpful for debugging to store the query itself as a variable, rather than just the result.
TheHappyPeanut wrote:So the columns are actually my row values in the database?
TheHappyPeanut wrote:Also, it seems as if something else went wrong. It shows a blank page when you log in regardless of whether you put in no information, incorrect information, or correct information.<?php
if (isset($_POST['username']) && isset($_POST['password']))
$connect = mysql_connect("localhost","root","") or die("Could not connect");
mysql_select_db("tracker") or die("Could not find database");
Users browsing this forum: xwhitchx and 5 guests