Thank you ever soo much, I just had to blank out the last else statement and it works! thank you for your help, it was very much appreciated... Thanks a million.
Progress! when I put in fake details, it forwards me to the fail.php page, correct. However when I put in right details, it dosn't forward me and it also echoes the following on the screen
Warning: Cannot modify header information - headers already sent by (output started at...
it echoes out on the screen the following and still dosn't redirect me.
No Submit pressed. This is $_POST array:
Array
(
[username] => ono17
[password] => 123456
[Submit] => Submit
)
it gives the following error on this line:
if ($row['password'] == $password) && ($row['username'] == $username)
Error:
Parse error: parse error in e:\webareas\ou301\easyfly\login.php on line 39
I have tried changing the code to the one below, but I am having error where am comparing the dbpassword against the inputted password Please see the code:
<?php
$submit = $_POST['submit'];
$username = $_POST['username'];
$password = $_POST['password'];
if(isset($submit))
{...
Hello guy, I have a little bit of problem again. I modified a peice of code given 2 me by jpadie to use else where but I can't seem to figure out why the code is not doing what it is supposed to. It is a login page which simply checks if a user is in the db if so sends them to a page else...
Thanks a million jpadie like I and many other people in this forum has previously said, you are a true genious and an inspiration to many! Thank you once more for your effortless help.
It Works!
Fatal error: Call to undefined function: () in e:\webareas\ou301\easyfly\insert_destinations.php on line 7
Line 7 being:
$query ("DESCRIBE destination");
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.