HELP!! comparing arrays

From: Date: Sat, 07 Apr 2001 06:08:34 +0000
Subject: HELP!! comparing arrays
Groups: php.general 
Request: Send a blank email to php-general+get-47528@lists.php.net to get a copy of this message
Hi- I'm new here and have this problem that's DRIVING ME CRAZY. I have two arrays as a result of two queries that I have to compare. Supose this two tables: This is my today table showing my actual stock (2001-04): t-shirt blue L jacket black M sweater red S shirt white M Then I have a future stock table, it's showing changes for the next month (2001-05). t-shirt red L sweater green S If the user selects in a menu 2001-04 the orginal first table should display. But if user selects 2001-05 this should be display: t-shirt red L jacket black M sweater green S shirt white M This has to work with PHP3 and using PHPLIB templates. I've tried EVERYTHING! Nested whiles, nested for, just E V E R Y T H I N G . I don't know what else to do and my nerves are about to kill me. PLEASE! ANY HELP IS WELCOME!! thank you people, /paula

« previous php.general (#47528) next »