RE: [PHP] Passing more than one variable with alink

From: Date: Tue, 02 Jul 2002 06:31:06 +0000
Subject: RE: [PHP] Passing more than one variable with alink
Groups: php.general 
Request: Send a blank email to php-general+get-104847@lists.php.net to get a copy of this message
the syntax is name1=val1&name2=val2&name3=val3 the separator is "&" -----Original Message----- From: Peter Goggin [mailto:pgoggin@smartchat.net.au] Sent: Tuesday, July 02, 2002 4:31 PM To: php-general@lists.php.net 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

« previous php.general (#104847) next »