Current location: Hot Scripts Forums » Programming Languages » PHP » How to create forms - Mysql n PHP


How to create forms - Mysql n PHP

Reply
  #1 (permalink)  
Old 11-16-07, 08:57 AM
mrzuna mrzuna is offline
New Member
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
X_X How to create forms - Mysql n PHP

Hello there,

First im a newbie

I have a question how to made forms that will contain 44 diferent pages with the same form fo 44 diferent shops:
form needs to look like this

date,
calls visits
11:00 13:00 15:00 17:00 19:00 SUM 11:00 13:00 15:00 17:00 19:00 SUM

that would be a form that will have every shop
after that i need to create report from 44 shops that have entered all data,

looks simple but complicated for me , but im learning mysql and PHP and this is my first work

Im working 4 days, and after i finished base, it all crashed

HELP PLEASE

Regardssssssss........
Reply With Quote
  #2 (permalink)  
Old 11-19-07, 12:17 AM
fahadp fahadp is offline
Newbie Coder
 
Join Date: Nov 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Design a table that holds an addiotion field to store shop name or domain etc.
If 44 shops are running on 44 different URLS then following can be a solution

Design a single form and keep a hidden field in the form that will hold identification of shop. i.e. shop1, shop2 etc

Quote:
<html>
<form>
.........
<input type="hidden" name="FIELDNMAE" value"shop1" />
.........
</html
You can store the data from different shops into single table and then can easily generate reports based on that.
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
PHP not recognizing admin in MySQL gizelle Database 3 04-15-07 08:39 PM
Php Mysql Bug??? tranquilraven PHP 4 03-01-06 03:06 AM
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 0 01-14-06 01:11 AM
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet General Advertisements 0 09-29-05 07:30 AM


All times are GMT -5. The time now is 07:32 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.