array issues

From: Date: Mon, 26 Feb 2007 12:13:34 +0000
Subject: array issues
Groups: php.general 
Request: Send a blank email to php-general+get-249433@lists.php.net to get a copy of this message
Hi all, I am working on a project for someone and with the brief I received before - I created a record per action with the following information; Artist[tab]artist[tab]artist[tab] etc as a entry for "artists" Then I have the same for titles etc ... What I have been doing is creating the array's and combining them ... with artist as a key and song as a value... Now ... they are requesting that I have the an additional 3 fields ... how would I now accomplish this? Bear in mind its php 4 and I am using a combine_array generic from the www.php.net site in lieu of array_combine. I have paste a sample record below; INSERT INTO votes_records (id, date, who, title, description, image, email, artists, titles, votes, weeks, twoweekpos, oneweekpos, debut) VALUES (22, '2007-02-26 12:29:15', 1, 'Test Again', '', '', '', 'Artist 1Artist 2', 'Song 1Song 2', '1', '51', '20', '10', '2005/02/092005/02/09'); The net effect that I need to get - is take that information and display it per item so people can vote. S

« previous php.general (#249433) next »