Jump to content
xisto Community

sajja

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. yup.....thanks for your answer.
  2. HI,I need know some thing to complete my assignment.Does asp.net applications work on all the other platforms like Unix, Linux...?Could any one help me out...
  3. how to receive the username back to this present working page from the login page......?
  4. how to get the user name to the present working page from the login page......?

  5. hi.. i am receiving the following error to view my members profile. here is the code: <?phpinclude 'functions.php';if(!loggedin()){header("Location: mlogin.php");exit();}?><?php include ("header.html"); include ("memmenu.html"); include ("profileinf.html"); $username = $_GET['username'];$con = mysql_connect("localhost","root","");if (!$con) { die('Could not connect: ' . mysql_error()); }mysql_select_db("cricket", $con);if(isset($username)){$user =mysql_query( "SELECT * FROM `members` WHERE username='$username'");}else{echo"username not received.";}echo "<table align='' border='1'><tr><th>Fullname</th><th>Username</th><th>Date of Birth</th><th>Address</th><th>E-mail</th><th>Phonenumber</th></tr>";while($row = mysql_fetch_array($user)) { echo "<tr>"; echo "<td>" . $row['fullname'] . "</td>"; echo "<td>" . $row['username'] . "</td>"; echo "<td>" . $row['dob'] . "</td>"; echo "<td>" . $row['address'] . "</td>"; echo "<td>" . $row['email'] . "</td>"; echo "<td>" . $row['phonenumber'] . "</td>"; echo "</tr>"; }echo "</table>";echo "<br>"; echo '<form name="backlistfrm" method="post" action="profile.php">';echo '<input type="submit" value="Back to The List">';echo '</form>';echo "<br>";mysql_close($con); include ("footer.html");?> would u help me out.............?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.