|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 Code:
<!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> </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"> |
|
#2
|
||||
|
||||
|
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
__________________
"We know that all things work together for good for those who love God, who are called according to his purpose." Romans 8:28 |
|
#3
|
|||
|
|||
|
O oooo really?
Hi!
Thanks a lot but How and where? |
|
#4
|
||||
|
||||
|
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 Last edited by s001dxp : March 2nd, 2003 at 11:04 AM. |
|
#5
|
|||
|
|||
|
does anyone understand DOS here? I seriously DO NOT get it! help!
|
|
#6
|
|||
|
|||
|
anybody here? i understand unix and all but i am fuzzy on DOS, anyone wanna clue me in?
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > how to retreive data that associated to USER login |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|