Chris
Apologise for sending you message directly, just one last thing about what I
have tried to to do, basically after I got list of string from
HTTP_POST_VAR, it will be like 12154, how do I make it to be 1,2,1,5,4 so
that I can put that in variable to put it in query?
I tried connect it like this "val" . ", " ;
and it returns 1,2,1,5,4, instead of 1,2,1,5,4 and it screw up query.
Thank again for this help, I am pretty sure this will be last question about
this :-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
----- Original Message -----
From: Chris Fry <[EMAIL PROTECTED]>
To: Jacky@lilst <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 5:59 PM
Subject: Re: thank you very much


> Jacky,
>
> Happy to help - I went through a lot of pain myself the first time I tried
to do
> something like this!
>
> Regards
>
> Chris
>
> "Jacky@lilst" wrote:
>
> > Chris
> > Nothing but thank you very much, I managed to got the value of the ID
list
> > out according to your advice now.
> > cheers
> > Jack
> > [EMAIL PROTECTED]
> > "There is nothing more rewarding than reaching the goal you set for
> > yourself"
> > ----- Original Message -----
> > From: Chris Fry <[EMAIL PROTECTED]>
> > To: Jacky@lilst <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 18, 2001 4:52 AM
> > Subject: Re: what about the include files in your example?
> >
> > > Jacky,
> > >
> > > You don't need the include files - they are a style sheet and some
table
> > > definitions for my db.
> > >
> > > Just remove the includes and substitute your database stuff for mine.
> > >
> > > Regards
> > >
> > > Chris
> > >
> > >
> > > "Jacky@lilst" wrote:
> > >
> > > > What about those include file in your example? what do I have to do
with
> > > > them?
> > > > Jack
> > > > [EMAIL PROTECTED]
> > > > "There is nothing more rewarding than reaching the goal you set for
> > > > yourself"
> > > > ----- Original Message -----
> > > > From: Chris Fry <[EMAIL PROTECTED]>
> > > > To: Jacky <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, April 18, 2001 4:43 AM
> > > > Subject: Re: [PHP] Variable variable
> > > >
> > > > > Sorry - fogot the url: it's getting late!
> > > > >
> > > > > http://sis.quillsoft.com.au/checkboxtest.php
> > > > >
> > > > > Chris
> > > > >
> > > > > Jacky wrote:
> > > > >
> > > > > > Hi all
> > > > > > I have a form with check box and name of those checkboxes is
usuing
> > > > variable lke this,
> > > > > >
> > > > > > <!-- I got the value $id from a table and looping them and
assign
> > them
> > > > to the check box name-->
> > > > > > <input type="checkbox" name ="$id" value="on">
> > > > > >
> > > > > > and when I submit the form to page foo.php4, at that page, I use
> > > > Variable variable to call the value of the check box to see if it
> > checked
> > > > like this
> > > > > >
> > > > > > $quey = "select id from table";
> > > > > > $result = ...... ( assumeing it is done and i got value for $id
for
> > all
> > > > records from table)
> > > > > >
> > > > > > if ($$id =="on"){
> > > > > > echo "on";
> > > > > > }else{
> > > > > > echo "off";
> > > > > > }
> > > > > >
> > > > > > It always returns echo "off", why is that?
> > > > > > cheers
> > > > > > Jack
> > > > > > [EMAIL PROTECTED]
> > > > > > "There is nothing more rewarding than reaching the goal you set
for
> > > > yourself"
> > > > >
> > > > > --
> > > > > Chris Fry
> > > > > Quillsoft Pty Ltd
> > > > > Specialists in Secure Internet Services and E-Commerce Solutions
> > > > > 10 Gray Street
> > > > > Kogarah
> > > > > NSW  2217
> > > > > Australia
> > > > >
> > > > > Phone: +61 2 9553 1691
> > > > > Fax: +61 2 9553 1692
> > > > > Mobile: 0419 414 323
> > > > > eMail: [EMAIL PROTECTED]
> > > > > http://www.quillsoft.com.au
> > > > >
> > > > > You can download our Public CA Certificate from:-
> > > > > https://ca.secureanywhere.com/htdocs/cacert.crt
> > > > >
> > > > >
**********************************************************************
> > > > >
> > > > > This information contains confidential information intended only
for
> > > > > the use of the authorised recipient.  If you are not an authorised
> > > > > recipient of this e-mail, please contact Quillsoft Pty Ltd by
return
> > > > > e-mail.
> > > > > In this case, you should not read, print, re-transmit, store or
act
> > > > > in reliance on this e-mail or any attachments, and should destroy
all
> > > > > copies of them.
> > > > > This e-mail and any attachments may also contain copyright
material
> > > > > belonging to Quillsoft Pty Ltd.
> > > > > The views expressed in this e-mail or attachments are the views of
> > > > > the author and not the views of Quillsoft Pty Ltd.
> > > > > You should only deal with the material contained in this e-mail if
> > > > > you are authorised to do so.
> > > > >
> > > > > This notice should not be removed.
> > > > >
> > > > >
> > > > >
> > >
> > > --
> > > Chris Fry
> > > Quillsoft Pty Ltd
> > > Specialists in Secure Internet Services and E-Commerce Solutions
> > > 10 Gray Street
> > > Kogarah
> > > NSW  2217
> > > Australia
> > >
> > > Phone: +61 2 9553 1691
> > > Fax: +61 2 9553 1692
> > > Mobile: 0419 414 323
> > > eMail: [EMAIL PROTECTED]
> > > http://www.quillsoft.com.au
> > >
> > > You can download our Public CA Certificate from:-
> > > https://ca.secureanywhere.com/htdocs/cacert.crt
> > >
> > > **********************************************************************
> > >
> > > This information contains confidential information intended only for
> > > the use of the authorised recipient.  If you are not an authorised
> > > recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> > > e-mail.
> > > In this case, you should not read, print, re-transmit, store or act
> > > in reliance on this e-mail or any attachments, and should destroy all
> > > copies of them.
> > > This e-mail and any attachments may also contain copyright material
> > > belonging to Quillsoft Pty Ltd.
> > > The views expressed in this e-mail or attachments are the views of
> > > the author and not the views of Quillsoft Pty Ltd.
> > > You should only deal with the material contained in this e-mail if
> > > you are authorised to do so.
> > >
> > > This notice should not be removed.
> > >
> > >
> > >
>
> --
> Chris Fry
> Quillsoft Pty Ltd
> Specialists in Secure Internet Services and E-Commerce Solutions
> 10 Gray Street
> Kogarah
> NSW  2217
> Australia
>
> Phone: +61 2 9553 1691
> Fax: +61 2 9553 1692
> Mobile: 0419 414 323
> eMail: [EMAIL PROTECTED]
> http://www.quillsoft.com.au
>
> You can download our Public CA Certificate from:-
> https://ca.secureanywhere.com/htdocs/cacert.crt
>
> **********************************************************************
>
> This information contains confidential information intended only for
> the use of the authorised recipient.  If you are not an authorised
> recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> e-mail.
> In this case, you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all
> copies of them.
> This e-mail and any attachments may also contain copyright material
> belonging to Quillsoft Pty Ltd.
> The views expressed in this e-mail or attachments are the views of
> the author and not the views of Quillsoft Pty Ltd.
> You should only deal with the material contained in this e-mail if
> you are authorised to do so.
>
> This notice should not be removed.
>
>
>


-- 
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]

Reply via email to