Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 04-04-2008, 05:35 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2007
Posts: 4
Default web database help....


Hey guyz, i wanna built a website, for which i am using dreamweaver.
And the requirement is, i have two fields username and password!
I must be able to store the username and password that is been entered.
For which i have created a database using php n created two tables with "username and password" values.
Now i am stuck up. How do i link up there things, i.e the website fields with ma database.

Guys all i need is, what ever that is typed in these two fields, need to come n get stored in the database.
plz plz plz guyz how can i do it, i dont know much of html,php,sql stuff. i am a beginner in this!
thnks for ur posts.
mck3bangalore is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 04-04-2008, 06:28 PM   #2 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: web database help....

You will need to know the following to make a login system in PHP-MySQL:
1. HTML forms
2. SQL
3. Adding and retriving data from a (My)SQL database using PHP.

For 1: http://www.w3schools.com/html/html_forms.asp
For 2 and 3: http://www.freewebmasterhelp.com/tutorials/phpmysql or http://www.tizag.com/mysqlTutorial/

If you are gonna do this on your PC, you will have to install Apache, PHP and MySQL. All the 3 can be installed in few clicks using WAMP or XAMPP
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 06-04-2008, 12:32 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2007
Posts: 4
Default Re: web database help....

Quote:
Originally Posted by rohan_shenoy View Post
You will need to know the following to make a login system in PHP-MySQL:
1. HTML forms
2. SQL
3. Adding and retriving data from a (My)SQL database using PHP.

For 1: http://www.w3schools.com/html/html_forms.asp
For 2 and 3: http://www.freewebmasterhelp.com/tutorials/phpmysql or http://www.tizag.com/mysqlTutorial/

If you are gonna do this on your PC, you will have to install Apache, PHP and MySQL. All the 3 can be installed in few clicks using WAMP or XAMPP
Thank u very much with those links, going through these tutors, I have created a webpage, and also a database with the required tables...
Now the problem is linking the webpage to my database...
i.e...
i have two fields, username and password.. and when i click submit, the info needs to be send to my online DB that i have created...
This is some thing i found:
" If you type some characters in the text field above, and click the "Submit" button, you will send your input to a page called "html_form_action.asp". That page will show you the received input."
Can u plz let me more bought this "html_form_action.asp" file....
mck3bangalore is offline  
Old 06-04-2008, 01:04 PM   #4 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: web database help....

^All what you need to do is given in that tutorial
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 06-04-2008, 01:15 PM   #5 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: web database help....

php and mysql is a very bad combination try postgresql
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 06-04-2008, 01:48 PM   #6 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: web database help....

^ Why?
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 06-04-2008, 01:49 PM   #7 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: web database help....

Why is PHP and MySQL a bad combination? Please explain. I have been using it for quite some time now and it did everything I wanted.
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता

Last edited by victor_rambo; 06-04-2008 at 01:58 PM.
victor_rambo is offline  
Old 06-04-2008, 01:53 PM   #8 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,675
Default Re: web database help....

light and fast. wat else is bad
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Old 06-04-2008, 03:47 PM   #9 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: web database help....

The argument of MySQL vs PostgreSQL does exist but the answer to that is not so simple and is not needed in this thread really. PostgreSQL is much more complex than MySQL and is better for certain applications due to that fact.

A really nice comparison can be found here: http://articles.techrepublic.com.com...2-1050671.html

And @OP - ASP and PHP are different things, be clear and head only in one way.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 06-04-2008, 06:28 PM   #10 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,277
Default Re: web database help....

Quote:
Originally Posted by Desi-Tek.com View Post
php and mysql is a very bad combination try postgresql
you are undermining the intelligence and prudence of a million webdevelopers plus a giant corp with that very simple and bland statement...

postgresql still has a big road ahead


_
DigitalDude is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Question. Tech_Wiz Programming 3 16-01-2008 09:41 AM
Need Help with DataBase Programming in VB ! darkknight Software Q&A 1 15-08-2007 09:27 AM
Can anybody make a database using this?? arnab2kool QnA (read only) 3 20-11-2006 12:53 PM
Help in Database connectivity in VB 6.0 redhat QnA (read only) 3 01-11-2006 12:17 AM
How to connect with database? debiprasad_sahoo QnA (read only) 2 25-09-2006 04:52 PM

 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2