Dynamic Array Q

From: Date: Fri, 28 Dec 2001 22:27:16 +0000
Subject: Dynamic Array Q
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78978@lists.php.net to get a copy of this message
Hey! Looking for a way to add an entry in my array ...the way I have it the array is getting rebuilt everytime... Anyway to add an entry without calling a function to do it inside the main while loop?? while ($row = mysql_fetch_object($result_query)) { $look = "$row->year" . "$row->month" . "$row->day"; $title = $row->title; $Schedule = array( $look => "$title", ); } thanks, ccma

« previous php.general (#78978) next »