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

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

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

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

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
Hi I think your mysql_query is wrong. You need to include the $db variable in the query otherwise it doesn't know where to put the stuff. $result = mysql_query($sql, $db); Cheers JD -Original Message- From: Chiew, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, February

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

Re: [PHP] PHP Forms

2002-01-02 Thread Valentin V. Petruchek
Mail() function works fine on win32, you need enter smtp server in your php.ini and sendfrom address. example: SMTP = 10.1.25.1 ; for Win32 only sendmail_from = [EMAIL PROTECTED] Valentin Petruchek (aki Zliy Pes) *** ??? ?? *** http://zliypes.com.ua mailto:[EMAIL PROTECTED] -

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