For the link to work correctly, only the first parameter should be seperated by a ?, the remaining ones should be seperated by &.
For eg: http://localhost.com/sample.php?firstparam=1&secondparam=XYZ Hope this helps, Sachin -----Original Message----- From: Peter Goggin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 12:01 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