php error syntax error, unexpected T_STRING?

  • Thread starter Thread starter Video man
  • Start date Start date
V

Video man

Guest
on line 8 here is line 8 ( $username&&$password) is the code right ?

Thanks
here is the whole code



$username = $_post['username'] ;

$password = $_post['password'] ;

if ( $username&&$password)

{



$connect = mysql _connect ("my host name "," name",""); or die ("Couldn't Connect");

mysql_select_db ("name") ("name")or die (Couldn't find db");



}



else

die (" Please enter username and Password !");



?>
 
Back
Top