RE: [PHP] PHP commands and HTML combobox

2002-02-01 Thread Rick Emery

Eduardo,

You've already solved your own problem.  You just need to take it one step
further.

given:
form method=post action=formprocess.php
select name=combo
   option value=01Option 01
   option value=02Option 02
   option value=03Option 03
/select
--
in formprocess.php file:

a href=http://www.iasp.br/iasponline.php?option=?php print $combo;?
img border=0 src=baok.gif width=17 height=17
/a

-Original Message-
From: Eduardo Melo [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 5:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP commands and HTML combobox


How can i use a HTML combobox content into a PHP code as such as :

select name=combo
   optionOption 01
   optionOption 02
   optionOption 03
/select

a href=http://www.iasp.br/iasponline.php?option=xx;
img border=0 src=baok.gif width=17 height=17
/a

xx must be the option select in the combo named ~combo~ but must be an 
substr (x,7,2)

Is it posible ???

someone can help me ?

best regards,

eduardo melo
computer programmer

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
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 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] PHP commands and HTML combobox

2002-02-01 Thread Sandeep Murphy

Hi,

Is there any way I can  construct an associative array out of 3 other
arrays??

like for eg.

function parse() {

appid[];
appnm[];
url[];
}

I want to do something like this:

function arr() {


$applist = array(APPID =$appid,
APP NAME=$appnm,
 URL =$url);

foreach($applist as $valor)

echo $key . $valor;
}

wud appreciate any help..

TIA,
sands