--- David Robley <[EMAIL PROTECTED]> wrote:

> On Mon, 13 Dec 2004 00:56, Stuart Felenstein wrote:
> 
> > 
> > --- Jason Wong <[EMAIL PROTECTED]> wrote:
> > 
> >> 
> >> If in doubt, print it out (TM)
> >> 
> >>   echo '$Ind<br>', "$Ind<br>", $Ind;
> >> 
> > $Ind
> > '1','2','3','4'
> > '1','2','3','4'
> > 
> > Funny, they are both the same.
> 
> I think you are missing the point Jason was trying
> to make, which is the
> difference between '$Ind' and "$Ind". If you look
> again, you will see that
> those are handled differently.
> 
If you read the post Jason suggested I print out using
both single and double quotes.
Regardless that has very little to do with my
question.

Here is just another variation of my multiple select
list. 
<option value="<?php echo
$rsinds->Fields('CareerIDs')?>"<?php if
($rsinds->Fields('CareerIDs')== 5) {echo "SELECTED";}
?>><?php echo
$rsinds->Fields('CareerCategories')?></option>

Here I was just testing with a specific value.
the line == 5 will set the value "SELECTED" correctly.
 If I put in 5, 6, or '5,','6', etc, I get an error. 
However, I don't believe that line works for multiple
values. What works is still a mystery to me.

Stuart    

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to