Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 27th, 2008, 05:57 AM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP-MySql

Hi there,

I have some simple question regrding PHP-MySql.I wanto develope a simple form containts name,address,id,detail,date etc.I connected to MySql database insert,select works fine!!

My Problem is that in Detail part,it long text in table as a field.you can insert as much information you want but each information in detail part containts unique price,
for example

Detail Amt
1)try £20.99
2)try £10.99
.
.
.
150)try £23.34
.
.
234)try £32.99

detail part is one textbox and all prices are different textboxes,how can i take all prices as a input??i can't show 150 or 250 textboxes on one page main problem is how to store on table???

Please give me som hints!!
Thanks you.


Reply With Quote
  #2 (permalink)  
Old September 24th, 2008, 06:44 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: colombo, WP, Sri Lanka.
Posts: 482
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
name the textbox using array
<input type=textbox name="textboxname[]">

surendran
(Anything is Possible)
http://www.suren.info
http://ssuren.spaces.msn.com
Reply With Quote
Reply


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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL MiNdWaRp PHP How-To 0 May 14th, 2007 07:25 PM
MySQL/PHP Help blackout Beginning PHP 1 August 8th, 2006 08:49 AM
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
MySQL/PHP Gyhth PHP Databases 3 May 27th, 2005 09:21 PM
Using PHP with MySQL nav Beginning PHP 1 September 5th, 2004 05:02 AM



All times are GMT -4. The time now is 12:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.