I'm doing a login form and i am trying to get it to post to a page that
would vary based on the username given. I have figure out how to
display all the info once it is posted. I mean i know how to select it
from the db but other than that i'm kinda at a dead end. so far i have
the following code snibblets:
Form Login
<html>
<head>
<title>login</title>
</head>
<form method="post" action="main.ph p?user=$_POST[username]">
// basic login form here with username and then username text box and
then password and then password box and then submit button.
// the name of the username field is username, name of password field is
password and then submit button field is submit.
Display page
info to be determined. I havent decided if i should go with a template
or not to be based on each user or not but thats a different story lol
thx for all ur help if u can help me.
~matt
would vary based on the username given. I have figure out how to
display all the info once it is posted. I mean i know how to select it
from the db but other than that i'm kinda at a dead end. so far i have
the following code snibblets:
Form Login
<html>
<head>
<title>login</title>
</head>
<form method="post" action="main.ph p?user=$_POST[username]">
// basic login form here with username and then username text box and
then password and then password box and then submit button.
// the name of the username field is username, name of password field is
password and then submit button field is submit.
Display page
info to be determined. I havent decided if i should go with a template
or not to be based on each user or not but thats a different story lol
thx for all ur help if u can help me.
~matt
Comment