how to hidden this form if user login to my site?

MerchantAdvance

New Member
\[code\]<?phpob_start();session_start(); /// if you registered previuos and enter to this page go to admin.phpif (isset($_SESSION['uname']) and isset($_SESSION['pname'])) { //// i want to enter login and pass filed here to hidden}?> ///this is the form i want to be hidden if user login <form action="login.php" method="post" > <table width="171" border="0"> <tr> <td width="97"> <input class="put" name="uname" type="text" size="10" /> </td> <td width="64" align="right" class="text_un">username</td> </tr> <tr> <td> <input type="password" size="10" name="password" /></td> <td align="right" class="text_pw">password</td> </tr> <tr> <td align="right" valign="top"><input class="button" type="submit" name="button" id="button" value="http://stackoverflow.com/questions/3791401/enter" /></td> </tr> </table> </form><?phpob_end_flush();?>\[/code\]
 
Back
Top