In php, this is possible(assosiative arrays). you can pass this to another page in two ways. GET method
echo "<A href=\"anotherpage.php?arr[]=&arr[]=".$arr[$n(+1)]["CT"] for ($i=0;$i==$n;$i++) { echo $arr[$i]["CT"]; if ($i < ($n-1)) { echo "&arr[]="; } } echo "\" >link to another page </a>\n"; NOTE: Your link should not me > 1024 chars. A better method through forms.... <form method=post action="anotherpage.php"> for ($i=0;$i==$n;$i++) { echo "<input type=hidden name=\"arr[]\" value =\"".$arr[$i]["CT"]."\" >"; } \\ submit link/button here </form> Why do you wanna do this ? Why not store the information somewhere on the server and retreive it @ the next page ? ----- Original Message ----- From: "Mayank Sharma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 26, 2002 12:00 AM Subject: [ilugd]: More MySQL issues > Nope this time there aren't any MySQL issues as such. Just wanted a few > good references/pointers for the issues (oops) described below. > > (1) Can I have an array like: > $arr[$n]["CT"] > $arr[$n]["UT"] > . > . > . > $n++; > $arr[$n]["CT"] > $arr[$n]["UT"] > . > . > . > where $n is obviously 0,1,2,.... The CT, UT (and 6 others) make this a > matrix like 2D array. A sample <input> line would be better appreciated > than a Yes. > > (2) Sweet and Simple: How do I pass this array to another page where I > can traverse through $arr and store the data in a MySQL table. Each row > is 0,1,2.... and the columns are CT, UT, ..... > > > Mayank "V2.00.3-beta" Sharma > > "They asked for more and I gave them ..." -- Max Payne > > ================================================ > To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org > > ================================================ To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org