Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2007, 03:00 AM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help in code

hi

a recursive fn to traverse a multi-dimensional array that return the value of the array using explode fn.

for ur ref:

I give the array that i created

$vimal=array(
                  "vimal" =>"Text1"
                ) ;

$ram=array(
             "ram" =>array(
                         "raja" =>array(
                                            "rani" =>"Text2"
                                           )
                        )
           );
$ashok=array(
                   "asoh" =>array(
                                    "pon" =>array(
                                                         "lavanya" =>"Text3"
                                                        )
                                    )
                  );
$peter=array(
                  "john"=>array(
                                 "school"=>"Text4"
                                 )
                  );
$gokul =array(
                      "kalai"=>array(
                                           "priya"=>"Text5"
                                           )
                     );

$total=array("tot"=>array($ashok,$peter,$gokul));



$lakshmi=array(
             "raji" =>array(
                              "sumi" =>array(
                                               "vino" =>"Text6"
                                               )
                             )
             );
$main=array($vimal,$ram,$ashok,$lakshmi);

The above is the array,
in this i want to print "Text1,Text2..........,Text6" in the particular page

ex:"Text1" should be printed in the div placed in "vimal" page

i have placed the div

Kindly help me out..............
its very urgent..............





Thanks & Regards

R.Vimal Ram





Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent:hard disk serial code and vb code ivanlaw Pro VB 6 0 July 25th, 2007 04:05 AM
VB: .Exe file, serial code and activation code ivanlaw Pro VB 6 8 July 6th, 2007 05:44 AM
code clinic - Why wont example asp code work? jardbf Classic ASP Basics 3 April 27th, 2006 06:22 PM
Writing Client Side Script from Code-Behind code sajid_pk Classic ASP Databases 1 January 18th, 2005 12:53 AM
disable forum code within [code] blocks? nikolai Forum and Wrox.com Feedback 0 October 23rd, 2003 07:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.