help with database debug pls


Posted on 16th Feb 2014 07:03 pm by admin

Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/checklogin.php on line 13


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<?php
$myusername=$_POST['username'];
$mypassword=$_POST['password'];

if($myusername='********'&&$mypassword='********')
header('Location:http://www.mesickonline.com/students/05/php/index.html');
else($myusername='********'&&$mypassword='********')
header('Location:http://www.mesickonline.com/students/05/php/index.html');
?>




<body>

</body>
</html>

No comments posted yet

Your Answer:

Login to answer
155 Like 17 Dislike
Previous forums Next forums
Other forums

Running a cron job through PHP/Apache?!
Hello all,
I have a PHP script which makes a cron file from user input. When i try to run the cro

Simple Variable Question
Hi everyone.... again,

I am really getting into php still. Learning more every day. I love it

Retail terminologys not been altered after activing Retail System
Hi, All

After I active Retail System via TCode SWF5, the terms does not been changed, th

Module pool selction screen parameters combination logic
Hi floks,
Am new to the module pool development ,Recently i have created one program based on

How do I give a developer access to a specific directory and nothing else?
I want to give a develop access to a specific directory and nothing else

I can give them an F

How can I get my program to read a larger array ??
Hi:

I have this program that reads from an array to do calculations. The array are just t

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

trouble printing an array....
I'm having some trouble printing out an array forwards. I'm figuring out the high and low of an arra

Recording popularity by day, week.. all time?
Hey everyone, I'm creating a site designed around users uploading music. How can I implement a syste

. and .. appearing instead of pictures
First of all, thanks very much for providing this forum. It is very much appreciated!

My son

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash