[PHP] adding to an array

2003-02-23 Thread rdkurth
Hello , I need a way to read the following text file and add to or delete from or change the data. I have been able to move it all into an array using this code $groups= file("group"); for ($i=0; $i<$number_in_group; $i++){ } But I can not figure out how to search the array and delete from or add

[PHP] Adding to an array within while loop

2001-07-13 Thread Mike Gifford
Hello, I'm trying to get around a database problem that I'm having in which multiple authors are producing (almost - the authors are listed as different) duplicate returns within a bibliography. What I've done is query the database and produce a list of duplicates using something like this (t