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">
Did you know?Explore Trending and Topic pages for more stories like this.
<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

pagination - need help on passing of search query.
Hi, i have been trying for days but couldn't get this sorted out. Would like some professional help

Certain files upload, while others do not
I want to read the data from an uploaded file. Not sure why, but it only uploads for certain files.

Need help making a blockquote and line items conditional
I have some code I bought a few years ago that allows my clients to update content on their site usi

Simple email form - Newbie
Hello all,

First time poster!

I've been asked to create a simple HTML form that submit

How to form a xml form table with a single sql statement..?
Hi everyone,
I don't know if this is going to be a duplicate thread but i couldn't

validating url
im trying to validate url's sent to me by a form
the url's im collecting are for placing banners

Issue Parsing XML into table
Hello all,

Im a bit new to php and new to phpfreaks. But thanks in advance for the help!
<

Database/Table Collation
What is the Database, and table collations used for? i don't understand what there used for since co

add 20 000 to the rowcnt
Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php

Which practice of iteration through containers is preferred
In the "real world" what kind of loop do most people use to iterate through a container like a vecto

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