Jump to content
php.lv forumi

login


werd

Recommended Posts

eku mans skripts

 

 

<body>

<?

 

$username ="janis"

$password ="janusseks"

if ($username =="janis")

($password ="janusseks") {

echo "Viss ok"

} else }

echo "Nav ok"

}

?>

</body>

Link to comment
Share on other sites

Kas ir kreisa sintakse, kur tad bij kluda?

bet ari sitas man nedarbojas

mans script ir

 

<body>

usename<input type="text" size="15" />

password<input type="text" size="15" />

<?

$username="janis"

$password="janusseks"

 

if ($username=="janis") {

($password=="janusseks")

echo "Viss ok!"

}

else {

echo "Nekā!"

{

>?

 

</body>

Link to comment
Share on other sites

Es saliku semikolus(nez vai pareizi) un tapat scripts nedarbojas,

KAS PAR LIETU ? ludzu palidziet!

 

 

body>

usename<input type="text" size="15" />

password<input type="text" size="15" />

<?

$username="janis"

$password="janusseks"

 

if ($username=="janis"&& $password=="janusseks") {

($password=="janusseks");

echo "Viss ok!";

}

else {

echo "Nekā!";

}

?>

 

</body>

Link to comment
Share on other sites

×
×
  • Create New...