[UPHPU] Off topic: mysql + php + javascript dropdown lists

Velda Christensen velda at novapages.com
Thu May 3 16:17:37 MDT 2007


How bad is this, I just replied to myself. Please see the note about the 
brain fog.


Velda Christensen wrote:
> Does anyone feel like doing this for me - like this afternoon? I'm 
> sure the script isn't that hard.  But I live by about 50 cotton trees. 
> Cotton trees = allergies = antihistamine = serious brain fog .
>
> I can paypal you $50 .. that's one dollar for each cotton tree.  If 
> you already know how to do it, should be a very easy $50.  I even have 
> the query (see, super simple database here, we're only dealing with 
> one table even)
>
> select distinct field1 from table1 order by field
>
> This query populates the first dropdown box.  Selecting an option 
> makes this query populate the second drop down box
> select field2 from table1 where field2 = field1 order by field2
>
> (yes, that is table1.field1 and table1.field2 -- super simple stuff)
>
> Just be sure if you're writing it for me to let me know -before- you 
> write it, cause I can only paypal one of you.  Let me know if you want 
> to do it and how soon you could do it.
>
> -V



More information about the UPHPU mailing list