Hello all,
$x = array(03,04,08,10);
$y = array(100,110,120,130);
I need these arrays be converted to:
$x = array(01,02,03,04,05,06,07,08,09,10,11,12,13);
$y = array(0,0,100,110,0,0,0,120,0,130,0,0,0);
Can somebody give an answer ?
Thanks.
Max
iginal Message -
From: Kersten Lohmeyer <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, January 11, 2001 1:08 AM
Subject: [PHP] Change Array Data
> Hi,
>
> I'm new to PHP so I thought someone could give me some advice on this one:
>
> I'm creating
Hi,
I'm new to PHP so I thought someone could give me some advice on this one:
I'm creating a shopping cart, which is nothing but an array within a
session variable. Adding products to my cart works fine. But now I want to be
able to change certain fields in my already filled array, e.g. the amo
3 matches
Mail list logo