Jump to content
php.lv forumi

SQL


davids

Recommended Posts

Sveiki,man kkas no4akarejies ar MSSQL,jau 3 dienas nevaru tik galaa,parinstaleju pc,sql,webserveri (xaamp) bet shaa vai taa nekas nelabojas,vislaik met to err :(

Nezinu ko lai dara! plz palidzat kaads.

 

 

 

 

<?php

if (isset($_COOKIE['login']))

{

echo '<div align="center"><form name="form1" method="post1" action="logout.php">Welcome ';

echo '<b><u>';

echo $login;

echo '</b></u><br />';

echo '<br /><b>Services are in the Menu.<br /></b>';

echo '<a href=index.php?pg=user class=side>Personal Top</a></div><br />';

echo '<input type="submit" name="Submit" value="Logout" class="button"></form><br />';

}

else

{

echo ?> shinii rindaa met erroru!!!!

<form method="post" action="login.php">

<table border="0" width="100%">

<tr>

<td align="left"><font color="#FFFFFF">Login</font></td>

<td width="84">

<input id="login" size="16" maxlength="15" name="login" class="textbox"></td>

Link to comment
Share on other sites

Un ko tieši tu tajā rindā "echo"?

pārraksti fragmentu šādi:

...

}

else

{

?>

<form method="post" action="login.php">

<table border="0" width="100%">

<tr>

<td align="left"><font color="#FFFFFF">Login</font></td>

<td width="84">

<input id="login" size="16" maxlength="15" name="login" class="textbox"></td>

<?php

}

?>

Link to comment
Share on other sites

×
×
  • Create New...