[PHP-DB] RE: Problem with Opera 9.0

2007-04-11 Thread Buesching, Logan J
JavaScript issue? I would assume it is an issue with JavaScript, because PHP doesn't care what browser asks for data, unless your program is hanging somewhere on a browser-specific issue. -Logan -Original Message- From: Imran [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007

[PHP-DB] Re: Problem with Opera 9.0

2007-04-11 Thread Imran
Hi Mr.Logan, If i had a problem with Javascript it shouldn't have worked with Firefox right ? But it works fine with firefox. Anyway iam checking with javascript code. Best Regards, Imran Khan - Original Message - From: Buesching, Logan J [EMAIL PROTECTED] To: Imran [EMAIL

[PHP-DB] RE: Problem with Opera 9.0

2007-04-11 Thread Buesching, Logan J
Well, JavaScript interpreters are much different from IE to Firefox to Opera, but as far as PHP goes, PHP outputs the same thing weather you use Firefox, Opera, IE etc... If you didn't have any browser specific PHP code, it would seem it is a JavaScript problem. -Logan -Original

[PHP-DB] Re: Problem with Opera 9.0

2007-04-11 Thread Imran
Hi Logan, Iam just looking at the javascript code. Will update you soon. Best Regards, Imran Khan - Original Message - From: Buesching, Logan J [EMAIL PROTECTED] To: Imran [EMAIL PROTECTED]; php-db@lists.php.net Sent: Wednesday, April 11, 2007 12:42 PM Subject: RE: Problem with Opera

[PHP-DB] populating multi-dimensional array

2007-04-11 Thread Matt Anderton
long-time reader, first-time poster. I am trying to use PEAR's 'hierselect' in HTML_Quickform. I have category and subcategory tables. I want to populate a drop-down based on category, then populate the subcategory based on the user's category selection. mysql desc category;

[PHP-DB] Re: populating multi-dimensional array

2007-04-11 Thread Roberto Mansfield
Matt Anderton wrote: long-time reader, first-time poster. I am trying to use PEAR's 'hierselect' in HTML_Quickform. A few things: 1. SQL style: avoid SELECT * and list your field names in the specific order you want them. What you have works, but you are assuming the field order in your

Re: [PHP-DB] Re: populating multi-dimensional array

2007-04-11 Thread Matt Anderton
thanks for the advice Roberto! the typos in (2) WERE the cause of my problems. I appreciate the comments on my SQL queries and table structures too. sloppy rookie mistakes. ~ matt On 4/11/07, Roberto Mansfield [EMAIL PROTECTED] wrote: Matt Anderton wrote: long-time reader, first-time

Re: [PHP-DB] mysqli_prepare

2007-04-11 Thread Georg Richter
Craig Hoffman wrote: Can you use the mysqli_prepare function to UPDATE MySQL or is it just limited to an INSERT statement? mysqli_prepare works for mostly all statements, except calling stored procedures, create commands and several show commands. Full support is planned (and partially

Re: [PHP-DB] mysqli_prepare

2007-04-11 Thread Onochie Anyanetu
yes, georg is correct, i made a type saying INSERT when I really meant UPDATE. my apologies. On 4/11/07, Georg Richter [EMAIL PROTECTED] wrote: Craig Hoffman wrote: Can you use the mysqli_prepare function to UPDATE MySQL or is it just limited to an INSERT statement? mysqli_prepare works