php3-list | 199908
Date: 08/04/99
- Next message: Neil Galvin: "[PHP3] newbie question - PHP & JavaScript"
- Previous message: Chris Adams: "RE: [PHP3] Anti-fraude voting system"
- In reply to: Oleg Timofeyev: "[PHP3] 3 month calendar again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: Oleg Timofeyev [mailto:olegtim <email protected>]
> Sent: Tuesday, August 03, 1999 9:29 PM
> To: php3 <email protected>
> Subject: [PHP3] 3 month calendar again
>
> I am trying to move all the days of the given month into a
> multidimensional array. Where
> days_array[Mon,Tue,Fri.........][5], 5 is for maximum number of
> members that could be there which will be dates. I am having
> problems with declaring the array and initializing it the way I
> want it. Any ideas on how to do it? Later, after all the dates
> moved into the array, I will print them out in a form of a
> calendar. I have tried something like $days_array[1][5] = $day;
> or $days_array = array("Mon"=>array(), "Tue"=>array().......) and
> it doesn't work.
It's a bit hard to diagnose your problem without a bit more precise
information on what you've tried and in what way it "doesn't work."
I can tell you that I've successfully put values into a two-dimensional
array using both of the approaches you say you tried.
--- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Neil Galvin: "[PHP3] newbie question - PHP & JavaScript"
- Previous message: Chris Adams: "RE: [PHP3] Anti-fraude voting system"
- In reply to: Oleg Timofeyev: "[PHP3] 3 month calendar again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

