the syntax is name1=val1&name2=val2&name3=val3
the separator is "&"

-----Original Message-----
From: Peter Goggin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 4:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Passing more than one variable with alink


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


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

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

Reply via email to