I have a form that reads in a couple variables via:
<input type=textbox name=bob1>
<input type=textbox name=bob2>
<input type=textbox name=bob3>
<input type=textbox name=bob4>
Now... I want to read in those variables in something like the following:
for($i=1;$i<4;$i++) {
echo "$bob$i";
}
BUT.... that obviously doesn't work, it simple prints 1, so how to I make it echo the
value of the variable bob1?
-Hass
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]