On Tue, 14 Dec 2004 02:33, Jason Wong wrote:
> On Monday 13 December 2004 22:59, Ford, Mike wrote:
>
>> > The issue was the difference between double and single quotes.
>>
>> Yes -- but you said "they are both the same", when there were *three*
>> things being displayed, and (a) you can't have bo
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 13 December 2004 14:00, Stuart Felenstein wrote:
> --- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
>
> > > > If in doubt, print it out (TM)
> > > >
> > > > echo '$Ind', "$Ind", $
On Monday 13 December 2004 22:59, Ford, Mike wrote:
> > The issue was the difference between double and single quotes.
>
> Yes -- but you said "they are both the same", when there were *three*
> things being displayed, and (a) you can't have both of three (b) only two
> of the three were the same,
--- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
> > > If in doubt, print it out (TM)
> > >
> > > echo '$Ind', "$Ind", $Ind;
> > >
> > $Ind
> > '1','2','3','4'
> > '1','2','3','4'
> >
> > Funny, they are both the same.
>
> "Both"? There are three things printed out there,
> so "both" cannot be
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 12 December 2004 14:27, Stuart Felenstein wrote:
> --- Jason Wong <[EMAIL PROTECTED]> wrote:
>
> >
> > If in doubt, print it out (TM)
> >
> > echo '$Ind', "$Ind", $Ind;
> >
On Monday 13 December 2004 19:00, Stuart Felenstein wrote:
> heaven's sake ? bit over dramatic. The code above is
> my created html. I've created a number of them, both
> from a table and just listing out some options. To
> repeat they all work . Yet all seem to have little in
> common when the va
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> > Here is just another variation of my multiple
> select
> > list.
> > > ($rsinds->Fields('CareerIDs')== 5) {echo
> "SELECTED";}
> > ?>> > $rsinds->Fields('CareerCategories')?>
> >
> > Here I was just testing with a specific value.
> > the line == 5 wi
On Monday 13 December 2004 18:29, Stuart Felenstein wrote:
> > 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
--- 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', "$Ind", $Ind;
> >>
> > $Ind
> > '1','2','3','4'
> > '1','2','3','4'
> >
On Mon, 13 Dec 2004 00:56, Stuart Felenstein wrote:
>
> --- Jason Wong <[EMAIL PROTECTED]> wrote:
>
>>
>> If in doubt, print it out (TM)
>>
>> echo '$Ind', "$Ind", $Ind;
>>
> $Ind
> '1','2','3','4'
> '1','2','3','4'
>
> Funny, they are both the same.
I think you are missing the point Jaso
--- Jason Wong <[EMAIL PROTECTED]> wrote:
>
> If in doubt, print it out (TM)
>
> echo '$Ind', "$Ind", $Ind;
>
$Ind
'1','2','3','4'
'1','2','3','4'
Funny, they are both the same.
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 12 December 2004 20:18, Stuart Felenstein wrote:
> If I choose 1, 2 , 3 then
>
> print_r($Ind); returns
> '1','2','3'
> This looks okay.
You *should* know what it should look like so I'll take your word for it.
> I could not find a difference with '$Ind', or "$Ind",
> except I would th
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Sunday 12 December 2004 18:15, Stuart Felenstein
> wrote:
>
> > Still stuck on this one. I know I'm doing
> something
> > wrong and wouldn't mind some correction:
>
> Did you mockup some test HTML in a wysisyg editor as
> suggested?
Yep like this
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> > I'm pretty sure I need to loop through the $_Get
> of
> > the array. Not sure , and haven't found anything
> > that shows this.
>
> Yes, you need to reference $_GET to see whether an
> option was selected and
> change the echo above accordingly.
>
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> > Close but no cigar. Since $Ind is already
> imploded my
> > thinking is it need not be incremented in the echo
> > statement ?
>
> You tell me, print_r() and var_dump() it before you
> use it and decide whether
> it is correct.
>
> One final thing
On Sunday 12 December 2004 18:15, Stuart Felenstein wrote:
> Still stuck on this one. I know I'm doing something
> wrong and wouldn't mind some correction:
Did you mockup some test HTML in a wysisyg editor as suggested?
> Code now:
>
> if (count($Ind) > 0 AND is_array($Ind)) {
> $Ind = "'".
On Sunday 12 December 2004 19:32, Stuart Felenstein wrote:
> > Did you mockup some test HTML in a wysisyg editor as
> > suggested?
>
> Yep like this :
>
>
> "None"))) {echo "SELECTED";} ?>>Black
Um, your HTML wysiwyg editor can insert PHP code for you? The object of the
exercise is to
On Saturday 11 December 2004 20:46, Stuart Felenstein wrote:
> --- [EMAIL PROTECTED] wrote:
> > you (just) need to mark the previously chosen items
> > as "selected" in
> > the repopulated list. the "highlighting" part is a
> > basic html/form
> > issue. i.e., if you have questions on this you
> >
--- [EMAIL PROTECTED] wrote:
> you (just) need to mark the previously chosen items
> as "selected" in
> the repopulated list. the "highlighting" part is a
> basic html/form
> issue. i.e., if you have questions on this you
> should look at how, on
> a simple (html-only) form, an item on a list i
I'm hoping that this question will be more succinct.
I am trying to repopulate a search form with a user's
chosen paramters. I am running into a problem with
"multiple select lists"
First , this is the element when the form is first
presented to the user:
'.$row['CareerCategories'].'';
}
?>
So
20 matches
Mail list logo