Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 1st, 2004, 05:37 PM
Authorized User
 
Join Date: Jan 2004
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Ashleek007
Default Obtaining information from a form

I have got an HTML page which i have two username and password input boxes as part of a form. I want these to be submitted to a php form that will check the user name against an SQL database table i have created.

how do i gather the information from the input boxes? or even an alternate way to create a user login section????

the database name is: login
the table name is: userlogin
it has two fields, USERNAME and PASSWORD
username is the key field
thanks for any help
ASH:D

__________________
My new web design domain
www.askmultimedia.co.uk
 
Old March 1st, 2004, 09:51 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I STRONGLY suggest you start by reading some PHP tutorials. It's not fair to expect someone to take the time to answer such a simple question when there's an extraordinary amount of information out there that answers exactly this question.

  http://www.php.net/tutorial
  http://www.google.com/search?q=php+tutorial


Besides, what database are you using?

  MySQL? http://www.php.net/mysql
  Postgres? http://www.php.net/pgsql
  SQL Server? http://www.php.net/mssql
  Oracle? http://www.php.net/oracle
  Sybase? http://www.php.net/sybase
  etc...


The problem of authenticating users has also been discussed at length in recent posts. Once you get the gist of getting and manipulating user input via HTML forms, you should read the recent authentication threads already posted. There's a lot of good information there... too much to repeat so soon after it was posted.



Take care,

Nik
http://www.bigaction.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
how I can search required information form table GeoIrshad Access VBA 1 March 13th, 2008 06:31 AM
obtaining handle of the window C# nirmal_thapa C# 0 January 30th, 2007 09:10 AM
emailing form information mark jonas Beginning PHP 2 November 16th, 2006 05:54 AM
Inserting Information From Form into another Table smartgir Access VBA 6 October 22nd, 2004 12:35 AM
updating table information with a form? lanctotd Access 1 June 8th, 2004 12:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.