Re: Passing more than one variable with alink
| From: | herosteal | Date: | Tue, 02 Jul 2002 07:35:01 +0000 |
| Subject: | Re: Passing more than one variable with alink | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104858@lists.php.net to get a copy of this message | ||
delimiter in a query string is & (amphen)
ie : page.php?varx=xxx&vary=yyy
"Peter Goggin" <pgoggin@smartchat.net.au> a écrit dans le message de news:
043b01c22192$1369fc50$0300000a@petergnt1...
> I need to pass more than one variable with a link.
>
> I cannot see the syntax listed anywhere.
>
> I am using :
> printf ("<a
href=\"catalogueitemslist.php?catitempage=%s;?catrange=%s\"><IMG
> SRC=\"/jpg/buttons/nextset.jpg\" HEIGHT=25
> BORDER=0></a><LEFT>",$catitempage,$catrange);
>
>
> Obviously the separators between the two variablesare incorrect. i.e. I
> have: ?catitempage=%s;?catrange=%s
>
> Can anyone tell me what it should be or where I can find a reference to
> these sort of syntax problems.
>
>
> Regards
>
> Peter Goggin
>