Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 9th, 2008, 4:55 PM   #1
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5 bulio is on a distinguished road
PHP, how to do this?

Hi everyone,

For my company, I need to create a PHP site which does the following:
  1. Allow a user to enter warranty information in a form (ex. part number, cost, make, etc.)
  2. E-Mail the form to a person
  3. Store the form information in a MySQL database
  4. Allow people to view the form information contained in the database

My PHP is a little rusty, so I'm just wondering how I would do this. I assume I create a regular PHP form, and then somehow store the forms in a MySQL database.

My question is how do I store this information in the database, and create a web frontend for people to view the entered information? I know how to send the e-mail, thats no problem, its just the MySQL part that is getting me confused.

Thanks!
bulio is offline   Reply With Quote
Old Feb 10th, 2008, 4:21 AM   #2
Fatima
Newbie
 
Fatima's Avatar
 
Join Date: Feb 2008
Posts: 1
Rep Power: 0 Fatima is on a distinguished road
Re: PHP, how to do this?

http://www.w3schools.com/php/php_mysql_insert.asp
http://www.w3schools.com/php/php_mysql_select.asp

all the best
Fatima is offline   Reply With Quote
Old Feb 10th, 2008, 11:01 PM   #3
MiKuS
Hobbyist Programmer
 
Join Date: Jun 2007
Posts: 134
Rep Power: 2 MiKuS is on a distinguished road
Re: PHP, how to do this?

you would also send mails with the php mail() function.

We wont write code for you, but will push you in the right direction.
Here is a step by step process to doing what you want:
1. Create a form in html to accept the information you'll need
2. Once the form has been submitted run a function which will email the results to a specified person(s)
3. Insert the information into a database
4. Make a page which pulls hte information out of the database and displays it.

In between these steps there will be more smaller steps - see if you can figure them out.
MiKuS is offline   Reply With Quote
Old Feb 18th, 2008, 8:01 AM   #4
FERDIKUCUK
Php Coder
 
Join Date: Feb 2008
Posts: 5
Rep Power: 0 FERDIKUCUK is on a distinguished road
Send a message via MSN to FERDIKUCUK
Re: PHP, how to do this?

http://www.programlamadili.net/PHP/
All in one
FERDIKUCUK is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing php (beginners question) spekkio7 PHP 4 Jan 11th, 2008 10:06 AM
New PHP Based Forum-RPG dizdain Paid Job Offers 5 Dec 3rd, 2007 2:32 AM
Linux - Installing PHP Booooze Coder's Corner Lounge 2 Jul 30th, 2007 12:40 AM
Php Tutorial 3 bulio PHP 4 Jul 16th, 2006 4:00 AM
Php Tutorial 1 bulio PHP 17 May 29th, 2006 4:54 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:56 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC