Dear you, So, if I need to define a set of varibles ( two dimension array, eg : $func[0,0] ) and via the varibles of form tag ( format, eg : $_GET["varname"] or $_POST["varname"] ), how about the example sources ?
Thank for your help ! Edward.
--- Begin Message ---> If I want to define and display a set of varibles, for example : > $func1 = 0 > $func2 = 1 > $func3 = 2 > $func4 = 3 > $func5 = 4 > > How can we define and display the varibles by using for loop > function ? <?php for ($x=0;$x<10;$x++){ $func[$x]=$x; } print_r($func); ?> This uses an array, so, in this case, your variables would be referenced as $func[0]..$func[9]. JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

