Helpful Information
 
 
Category: Software Design
how to retreive data that associated to USER login

Hi!

i have some task to do in my project

1) provide login screen to user for LOGIN, i got the code using html, username and password are reffered to mySQL DATABASE: LOGIN



<!doctype html public "-//W3C//DTD HTML 4.0 //EN">

<html>
<head>
<title>Login Page!</title>
</head>
<body bgcolor=#008080>
<center><?php echo $errmsg;

?></center>
<p align="center"><b>LOGIN SESSION FOR ADMINISTRATOR</b></p>
<form method="post" action="loginsession1.php">
<div align="center">
<center>
<table width="50%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>username</td>
<td>
<input type="text" name="username">
</td>
</tr>
<td>Password</td>
<td>
<input type="password" name="password">
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" name="submit" value="submit">
</td>
</tr>
</table>
</center>
</div>
</form>
</body>
</html>



2. The user those login with their username and password , only can VIEW their personal data related to USERNAME , for example the user can get a data like this-->

userID | username | status | location

from database STUDENT.

3. How can i do this with php? WHAT SHOULD I DO IN loginsession1.php from.....

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

I could just give you some code, but without knowledge of the code or PHP it'll be pointless, because you would have to modify it to fit your site.

I would suggest you search the web for tutorials on using MySQL and PHP together.

However, if you don't care about learning, but just want it done, I can do everything you need done for a small fee.

Port

Hi!

Thanks a lot but How and where?

i'd be remiss if I didn't tell you to look here:

http://www.devshed.com
but there are also many other places, I would go to a search engine and place PHP tutorials in the search.

Also, if you repost your post in the PHP forum, which is the proper forum for this question, others may be will to do it for you.

Port

does anyone understand DOS here? I seriously DO NOT get it! help!

anybody here? i understand unix and all but i am fuzzy on DOS, anyone wanna clue me in?










privacy (GDPR)