Manipulating variables

From: Date: Thu, 24 Feb 2011 04:48:17 +0000
Subject: Manipulating variables
Groups: php.general 
Request: Send a blank email to php-general+get-311551@lists.php.net to get a copy of this message
Is there a way to make this syntax: $checking_answer = $answer_reference_2; Equal to: $checking_answer = $answer_reference_ . ($i + 1); (where $i = 1) making $checking_answer take on the value of $answer_reference_2 ? I am trying to develop a web app quiz and I need to test the users answers. Ron The Verse of the Day “Encouragement from God’s Word” http://www.TheVerseOfTheDay.info

« previous php.general (#311551) next »