Add $String to $Num ???

From: Date: Thu, 04 Oct 2001 00:53:07 +0000
Subject: Add $String to $Num ???
Groups: php.general 
Request: Send a blank email to php-general+get-69857@lists.php.net to get a copy of this message
Hi, I have a variable called $String which can contain 3 random numbers like so... $String="12,94,423"; I then have $Num which is a single number from 1 - 20, I want to add $String and $Num together like this $String$Num So I would end up with $String1="12,94,423"; and then I can enter that value into my session.... session_register(String.$Num); I have tried everyway I can think of but it never works The reason for doing this is so I can store multiple $Strings in the session and use them later for a search. Can anyone help? Thanks Ade

« previous php.general (#69857) next »