Re: [PHP] php forms - select menu selected behavior

2009-04-30 Thread Marcus Gnaß
Troy Oltmanns wrote: I have the code below being used to rifle through a list of available categories and create select options for them. The code is being used to query the database and compare the product category to the current iteration, if there's a match, then add selected code so the

Re: [PHP] php forms - select menu selected behavior

2009-04-30 Thread Ashley Sheridan
On Thu, 2009-04-30 at 11:06 +0200, Marcus Gnaß wrote: Troy Oltmanns wrote: I have the code below being used to rifle through a list of available categories and create select options for them. The code is being used to query the database and compare the product category to the current

[PHP] php forms - select menu selected behavior

2009-04-28 Thread Troy Oltmanns
I have the code below being used to rifle through a list of available categories and create select options for them. The code is being used to query the database and compare the product category to the current iteration, if there's a match, then add selected code so the category is prechosen. More

Re: [PHP] PHP Forms

2006-05-06 Thread Richard Lynch
On Thu, May 4, 2006 9:57 pm, R. Van Tassel wrote: I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row

[PHP] PHP Forms

2006-05-04 Thread R. Van Tassel
I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row = quantity2, type2, etc) I can't seem to receive

Re: [PHP] PHP Forms

2006-05-04 Thread Chris
R. Van Tassel wrote: I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated by a loop and I am appending the counter of the loop to the name of the form elements (i.e. quantity1, type1, next row = quantity2, type2, etc) I

Re: [PHP] PHP Forms

2006-05-04 Thread Chris
- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 11:05 PM To: R. Van Tassel Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Forms R. Van Tassel wrote: I am having an issue with a form, basically an order form, with 10 rows. Each row is the same, the rows are being generated

[PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Hello, I'm *very* new to PHP. I am working through the 'Professional PHP Programming' book by Worx. In their forms they use the name attribute (ie. name=example) instead of XHTML's id attribute (ie. id=example). If I use 'name' my results display on the next page after the submit button is

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tom Rogers
Hi, Wednesday, December 31, 2003, 11:45:37 AM, you wrote: TB Hello, TB I'm *very* new to PHP. I am working through the 'Professional PHP TB Programming' book by Worx. TB In their forms they use the name attribute (ie. name=example) instead of TB XHTML's id attribute (ie. id=example). TB If I

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Leif K-Brooks
Tim Burgan wrote: In their forms they use the name attribute (ie. name=example) instead of XHTML's id attribute (ie. id=example). How can I fix this? (X)HTML still requires name to be used for forms. It's usually best to use both name and ID for forms. -- PHP General Mailing List

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Thanks for your replies. The name attribute is depreciated in XHTML for use with the input tag and has been replaced with the id attribute. The name element can still be used in the form tag though. What I'm looking for is something similar to ASP's GetElementByID(example); Thanks Tim Burgan

[PHP] php, forms, mysql

2002-11-18 Thread Adrian Partenie
Hello, I could use some help. I have two framed pages, upperframe.html and lowerframe.html. In upper frame.html: echo table border=1; echo trtd/tdtdID/tdtdSubject/tdtdOpen/tdtdClose/td/tr; while($row = MySQL_fetch_array($result)) { echo trtdforminput type=\checkbox\ method=\post\

Re: [PHP] php, forms, mysql

2002-11-18 Thread Marek Kilimajer
You don't need to use forms (which you got wrong), but simple links with target=lowerframe and href=lowerframe.php?tableID=$tableID, then you get in your lowerframe.php $_GET['tableID'] Adrian Partenie wrote: Hello, I could use some help. I have two framed pages, upperframe.html and

RE: [PHP] PHP Forms

2002-02-26 Thread John Day
25, 2002 6:31 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Forms I have the following php code to asks for a new student to fill out a registration form. Using php, take what the user enters and put it into the students table. But when i select * from students in mysql, it didn't show, why

[PHP] PHP Forms

2002-02-25 Thread Chiew, Richard
I have the following php code to asks for a new student to fill out a registration form. Using php, take what the user enters and put it into the students table. But when i select * from students in mysql, it didn't show, why? HTML BODY bgColor=#ff ?php if ($submit) { // process

Re: [PHP] PHP Forms

2002-02-25 Thread Jason Wong
On Tuesday 26 February 2002 02:31, Chiew, Richard wrote: I have the following php code to asks for a new student to fill out a registration form. Using php, take what the user enters and put it into the students table. But when i select * from students in mysql, it didn't show, why?

Re: [PHP] PHP Forms

2002-02-25 Thread Stewart G.
Your submit button does not have name=submit set. So $submit is never being set. Also your html is full of errors, I would clean that up and put it thru a validator, try html tidy (www.w3c.org). And, make sure that formvalidation() is passing true, is that fails the form will never be

[PHP] PHP Forms

2002-01-02 Thread Matt Obstgarten
Hello, I am new to PHP. I have PHP (cgi version) configured on my machine running XP Pro and IIS. It works fine. The first script I wanted to write was the ever-useful feedback form script where the contents of a form are e-mailed to the webmaster. I am sure that I have a working script

Re: [PHP] PHP Forms

2002-01-02 Thread Valentin V. Petruchek
] - Original Message - From: Matt Obstgarten [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 3:48 PM Subject: [PHP] PHP Forms Hello, I am new to PHP. I have PHP (cgi version) configured on my machine running XP Pro and IIS. It works fine. The first script I wanted

[PHP] PHP Forms and String Limitations

2001-12-06 Thread Jeremy Reed
I've set up a news database with a PHP front-end and am using MS SQL Server. The news table is set up correctly with the pertinent field being of type 'text' which, according to documentation, should support well over 10 megs of text data. This is the problem: The user tries to submit a news

[PHP] PHP forms

2001-01-31 Thread Victor Hamutenya
Hi, my name is Victor from Namibia, I do web development with PHP, I hapenned to find your email address on one of the PHP sites on the Net, as one of the contributors on the PHP notes. Can you please, if it is possible, tell me how to write in a form field with PHP script. Like in

Re: [PHP] PHP forms

2001-01-31 Thread Johannes Janson
e.g. input type=password name=memberid !!NOW!! value=?php echo "whatever"; ? Johannes "Victor Hamutenya" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, my name is Victor from Namibia, I do web development with PHP, I hapenned to find your email