Hi,
I've spent two days working on this problem and this forum is my last hope!
Basically, I'm using array_intersect to compare values from two or more different arrays. The array intersect function is meant to return the values that matched from the different arrays.
The database that I'm constructing is on the theme of cars and the arrays have names like "arrayspeed", "arrayenginesize", "arrayyear", "arrayacceleration" and so on.
The particular arrays that I want to intersect will be decided by the results of a search form that the user has submitted.
This means, that neither I, nor PHP have any way of predicting what arrays will need to be intersected.
I have attempted lots of different ways to dynamically generate the array_intersect command, but have had no luck so far.
Can anyone PLEASE help???? This is killing me!