[PHP] Help with select boxes

2001-12-22 Thread Sam

Hi all, 

I've a problem which I don't know how to get over, think it could more be an
HTML problem, but anyway.

I've a select box with long options names, this makes the box appear huge on
screen.
I was wondering how I can change the size of the box, so that when the user
clicks on the drop down, the options expand outwards.

Is this possible?


Thanks
Sam

Also I'm only on the digest so could you reply to me as well, cheers.



Re: [PHP] Help with select boxes

2001-12-22 Thread Andrew Brampton

I don't think what you want to do is possible..
and it is a HTML problem :)..
Maybe JScript could do it by populating the dropdown once you click it, but
I don't know if thats possible...

Andrew
- Original Message -
From: Sam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 22, 2001 1:42 PM
Subject: [PHP] Help with select boxes


 Hi all,

 I've a problem which I don't know how to get over, think it could more be
an
 HTML problem, but anyway.

 I've a select box with long options names, this makes the box appear huge
on
 screen.
 I was wondering how I can change the size of the box, so that when the
user
 clicks on the drop down, the options expand outwards.

 Is this possible?


 Thanks
 Sam

 Also I'm only on the digest so could you reply to me as well, cheers.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Help wih select boxes pls

2001-12-07 Thread Yogesh Mahadnac

Hi! I'm trying to make dynamically related select boxes (e.g. i have a 'State' 
select box, which, when i select an item in it, it automatically refreshes the select 
box 'Cities' containing a list of cities in that particular chosen state) 

Anyone can help me with this please?

Thanks



RE: [PHP] Help wih select boxes pls

2001-12-07 Thread Jon Haworth


 Hi! I'm trying to make dynamically related select boxes
 (e.g. i have a 'State'  select box, which, when i select 
 an item in it, it automatically refreshes the select box 
 'Cities' containing a list of cities in that particular 
 chosen state) 

Good article on this at Zend:
http://www.zend.com/zend/tut/drop-down.php

HTH
Jon


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] help on select

2001-02-27 Thread Jason Stechschulte

On Tue, Feb 27, 2001 at 03:12:17PM +0700, Yamin Prabudy wrote:
 Hi there I had a problem here
 I got a database in mysql that contains the date format like this "Mar 12
 2001"
 now i try to sort the database and find out how many data in my MySQL that
 had a date  "Mar 12 2001"
 
 how can i change that kind of format so i can compare the data in unix time
 stamp format

Try this:

?php
$date = mktime(0, 0, 0, 3, 12, 2001);
$sql = "select * from table_name where unix_timestamp(date_column) "
 . " $date";
?

-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
Interestingly enough, since subroutine declarations can come anywhere,
you wouldn't have to put BEGIN {} at the beginning, nor END {} at the
end.  Interesting, no?  I wonder if Henry would like it. :-) --lwall

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] help on select

2001-02-26 Thread Yamin Prabudy

Hi there I had a problem here
I got a database in mysql that contains the date format like this "Mar 12
2001"
now i try to sort the database and find out how many data in my MySQL that
had a date  "Mar 12 2001"

how can i change that kind of format so i can compare the data in unix time
stamp format


Yamin Prabudy


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]