?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?accessing array using address variables
Author:??(---.skyinet.net)
Date:???10-14-03 21:26

Author: jan (---.skyinet.net)
Date: 10-14-03 20:25

?php
$int0="January";
$int1="February";
$int2="March";
$array1=array();
$ins="int";
$ins1="";
$ins2="";
$i=0;
for ($i=0;$i<3;$i++){
$ins1="int" . $i;
$ins2 = $ins1;
$array1[$i]=$ins1;
print("$ins2
");

}
?>

hey guyz how can i retrieve the data in my variables $int;int1;int2? using array. the variable pass it to the array but the output is int0,int1 and int2 instead of "january","february","march" can anyone teach me how to address variables??? it will be very helpful
thanks

?Topics Author? Date
?accessing array using address variables??new
jan 10-14-03 21:26?
?Re: accessing array using address variables??new
federico 10-24-03 22:28?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum