Okay, in my database, one of the fields will contain information that looks like:
p.php?o=111, p.php?o=222, i.php?o=233, i.php?o=999, p.php?o=444, g.php?o=765
And after my query, I want to create an array based on this field, but I only want the items that start with "i.php..." in the array.
Not only do the numbers after the "=" sign change, but the "p.php" parts change too, so I won't know exactly what the values in this field will be. I looked into functions like eregi_replace, but it seems like I need to know what I'm replacing before it's being replaced.
I also looked into making the array first and then trying functions like array_slice, array_search, and array_filter, but I'm running into the same problem.
Can someone help me out here?