Is this what you need to know(?):

http://www.php.net/language.variables

If not let me know, and I'll guide you elsewhere.

-----Original Message-----
From: Muhammad Imran
To: [EMAIL PROTECTED]
Sent: 11/7/2003 7:54 AM
Subject: Fw: [PHP-WIN] Two Dimm. Arrays

Just assigning/retriving the values?

Imran
----- Original Message -----
From: Muhammad Imran <[EMAIL PROTECTED]>
To: Svensson, B.A.T. (HKG) <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 11:53 AM
Subject: Re: [PHP-WIN] Two Dimm. Arrays


> assigning/retriving the values?
> ----- Original Message -----
> From: Svensson, B.A.T. (HKG) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 06, 2003 12:56 PM
> Subject: RE: [PHP-WIN] Two Dimm. Arrays
>
>
> > What's your problem?
> >
> > Creating a FOR-loop or assigning/retriving the values?
> >
> > -----Original Message-----
> > From: Muhammad Imran
> > To: [EMAIL PROTECTED]
> > Sent: 11/6/2003 3:35 AM
> > Subject: [PHP-WIN] Two Dimm. Arrays
> >
> > How I can populate and restore the two dimensional array dynamically
i.e
> > under for/while loop. This is used in pear db but not directly link
to
> > just pear. Below is the code in which array is build manually.
> >
> > array(  array(1, 'one', 'en'),
> >                     array(2, 'two', 'to'),
> >                     array(3, 'three', 'tre'),
> >                     array(4, 'four', 'fire'));
> >
> > Thank you,
> > Imran
> >
> > > From: "Muhammad Imran" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, November 05, 2003 1:24 PM
> > > Subject: [PHP-WIN] Pear ::DB
> > >
> > >
> > > I am using Pear::DB package, Can anybody help me if I have array
of
> > values
> > > and I want to prepare the insert statements through those arrays.
> > >
> > > Below is the example which I find on every site but not found what
I
> > need,
> > > please help me.
> > >
> > > Thank you,
> > > Imran
> > >
> > >   $alldata = array(  array(1, 'one', 'en'),
> > >                    array(2, 'two', 'to'),
> > >                    array(3, 'three', 'tre'),
> > >                    array(4, 'four', 'fire'));
> > > $sth = $dbh->prepare("INSERT INTO numbers VALUES(?,?,?)");
> > >
> > > $dbh->executeMultiple($sth, $alldata);
> > > }
> > >
> > >
> > >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to