RE: [PHP] Looking for help with forms/variables and an array!

2007-06-13 Thread Richard Lynch
On Tue, June 12, 2007 6:37 pm, BSumrall wrote: > Is there much support for it? Support for what? > I didn't seem to find much support on ajax. Ajax has a few zillion uesrs/zealots/developers. I dunno how you missed them all, but they are out there. And Ajax doesn't really care if your XML resp

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Jim Lucas
Here is a link to the reworked source ran through highlight_file() so you can see the comments and such. I think I have caught everything that I can think of. Of course, not having the DB structure & data to work with, I had to guess at a few things. Hope I got it right... http://www.cmsws.

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
-Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 11:51 PM To: BSumrall Cc: php-general@lists.php.net Subject: Re: [PHP] Looking for help with forms/variables and an array! Take a look again. This can't be ALL your code Your

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Jim Lucas
Take a look again. This can't be ALL your code Your last line is Where is the rest of your file??? Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
-Original Message- From: BSumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 7:30 PM To: 'Dan Shirah' Cc: 'php-general@lists.php.net' Subject: RE: [PHP] Looking for help with forms/variables and an array! I thank you kindly for your pointers. It did

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
-Original Message- From: BSumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 7:52 PM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] Looking for help with forms/variables and an array! Don't be a hater! :o) I know I am a newbie for flat out application programmin

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
_ From: BSumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 8:46 PM To: 'Jim Lucas' Cc: 'php-general@lists.php.net' Subject: RE: [PHP] Looking for help with forms/variables and an array! I had done that before, But here it goes again because I h

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
essage- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 8:26 PM To: BSumrall Cc: php-general@lists.php.net Subject: Re: [PHP] Looking for help with forms/variables and an array! Are you wanting to setup some sorta pagination, or just get the results from the DB limi

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Jim Lucas
Are you wanting to setup some sorta pagination, or just get the results from the DB limited by the selected option in the form? oh, where is your second form in this example? In pseudo code, write out what you are attempting to do? -- Jim Lucas "Some men are born to greatness, some achiev

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
[PHP] Looking for help with forms/variables and an array! On Tue, June 12, 2007 3:20 am, BSumrall wrote: > Dreamweaver help me with a good part of this, No comment... > A selection box has 4 options, php queries the Mysql database for > matching > options. > > Then a second opt

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
@lists.php.net Subject: Re: [PHP] Looking for help with forms/variables and an array! Wouldn't a little javascript solve this problem?? Have your first dropdown menu, then when an option is selected use a javascript Onchange function to refresh (post) the page to itself. This would se

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
I, I, sir! I changed it back! :o) Point noted! -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 1:24 PM To: BSumrall Cc: php-general@lists.php.net Subject: RE: [PHP] Looking for help with forms/variables and an array! On Tue, 2007-06-12

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
Brad -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 1:57 PM To: BSumrall Cc: php-general@lists.php.net Subject: Re: [PHP] Looking for help with forms/variables and an array! BSumrall wrote: > It doesn't like the curly brackets either! &g

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Richard Lynch
On Tue, June 12, 2007 12:02 pm, BSumrall wrote: > Every single example on the internet is for register_globals = on. Actually, this is not at all true. And, really, fixing the example before you run it to not need register_globals is the way to go. > As far as the brackets, I tried with or witho

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Richard Lynch
urn the > options for the secont drop-down box. > > George > >> -Original Message- >> From: BSumrall [mailto:[EMAIL PROTECTED] >> Sent: 12 June 2007 9:34 am >> To: php-general@lists.php.net >> Subject: RE: [PHP] Looking for help with forms/variables and

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Richard Lynch
On Tue, June 12, 2007 3:34 am, BSumrall wrote: > I got a little bit further, but still feel like the "monkey with a > light-bulb"! Could be worse. You could be a monkey with an army. [as in 'W'] :-v -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indi

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Richard Lynch
On Tue, June 12, 2007 3:20 am, BSumrall wrote: > Dreamweaver help me with a good part of this, No comment... > A selection box has 4 options, php queries the Mysql database for > matching > options. > > Then a second options box with another 4 options filters the query > even > more. When the us

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Dan Shirah
Wouldn't a little javascript solve this problem?? Have your first dropdown menu, then when an option is selected use a javascript Onchange function to refresh (post) the page to itself. This would set the selected option as your "form1" value. Then just write a simple query using that value to

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Jim Lucas
BSumrall wrote: It doesn't like the curly brackets either! Brad if this is within PHP, the '{' and '}' are within double quotes (which they seem to be), These examples should all do the same thing. $query_Recordset1 = "SELECT * FROM lstng_tbl WHERE price_range = '$select1'"; $query_Records

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Robert Cummings
On Tue, 2007-06-12 at 13:02 -0400, BSumrall wrote: > The purpose for register_globals is for testing and functionality purposes > only. > Every single example on the internet is for register_globals = on. That's no excuse... and you're wrong. > I am very aware of the security risk of it. Ok... a

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
It doesn't like the curly brackets either! Brad -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 12:39 PM To: BSumrall Cc: php-general@lists.php.net Subject: Re: [PHP] Looking for help with forms/variables and an array! BSumrall wrote: &

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
ailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 12:38 PM To: BSumrall Cc: php-general@lists.php.net Subject: RE: [PHP] Looking for help with forms/variables and an array! On Tue, 2007-06-12 at 12:19 -0400, BSumrall wrote: > I am sure I am on the right track. > Register globals is turn

Re: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Jim Lucas
options for the secont drop-down box. George -Original Message- From: BSumrall [mailto:[EMAIL PROTECTED] Sent: 12 June 2007 9:34 am To: php-general@lists.php.net Subject: RE: [PHP] Looking for help with forms/variables and an array! I got a little bit further, but still feel like the "m

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread Robert Cummings
On Tue, 2007-06-12 at 12:19 -0400, BSumrall wrote: > I am sure I am on the right track. > Register globals is turned on! > > I am getting the following error: > > You have an error in your SQL syntax; check the manual that corresponds to > your MySQL server version for the right syntax to use nea

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
ailto:[EMAIL PROTECTED] > Sent: Tuesday, June 12, 2007 5:42 AM > To: BSumrall > Subject: RE: [PHP] Looking for help with forms/variables and an array! > > Hi, > > Have you looked at Ajax? This will do just what you have > described. When the > user makes their

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
-Original Message- From: BSumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 5:54 AM To: 'George Pitcher' Subject: RE: [PHP] Looking for help with forms/variables and an array! Interesting suggestion. I though ajax was mainly gear towards microsoft and jav

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
Is it a GUI based application? Brad -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 6:06 AM To: BSumrall Subject: RE: [PHP] Looking for help with forms/variables and an array! Hi, I use Javascript. I also use Firefox. I use Apache as my

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
nal Message- > From: BSumrall [mailto:[EMAIL PROTECTED] > Sent: 12 June 2007 10:54 am > To: 'George Pitcher' > Subject: RE: [PHP] Looking for help with forms/variables and an array! > > > Interesting suggestion. > > I though ajax was mainly gear towards mi

RE: [PHP] Looking for help with forms/variables and an array!

2007-06-12 Thread BSumrall
I got a little bit further, but still feel like the "monkey with a light-bulb"! Over $2 million -Original Message- From: BSumrall [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 4:21 AM To: php-general@lists.php.net Subject: [PHP] Looking for help with forms/variab