Variable variable names...

From: Date: Fri, 22 Jun 2001 18:29:38 +0000
Subject: Variable variable names...
Groups: php.general 
Request: Send a blank email to php-general+get-54921@lists.php.net to get a copy of this message
let say i wanted to see if a variable existed by the name of $myvar2 . how can i make the '2' come from a variable. so i want to say something like $myvar$othervar .(but obviously that wont work) anyone have a clue? i tried using eval but i couldn't get it right....

« previous php.general (#54921) next »