Click to See Complete Forum and Search --> : Login/out html form


no/good/at/this
11-12-2008, 02:48 PM
Hi chaps, im in the process of putting the login/logout option into my page, however im not sure how to do the form part.
Is it a "get" command or a "post" command?
Ive got a mysql database set up on my server but how do i link to it.
the way ive been taught is

<form method="post" action="my_database_name">
additional code here
</form>

Do i link to the same database as the registration form?

Doesn't work though, well not the above way anyway, i used a php generated script for the registration page (this links to my database fine although i dont know how) but i dont really want to use that, id rather use my own pages, but mine are all self coded so im a bit stumped.
Any idea's?
Thanks

Fang
11-13-2008, 01:26 AM
You do require a server side script (php) to process the data.
http://php.about.com/od/finishedphp1/ss/php_login_code.htm

no/good/at/this
11-13-2008, 01:59 PM
Hi fang i appreciate the link but i dont have any php knowledge, i know it tells me how to create a table, but would i be better of downloading Mysql so i can create a database on my pc?
Im actually really confused with this!