I have been trying to get this work for awhile tonite. but, I need some help.
if i query " ?1_id=01 " it shows the contents.
if i query " ?1_id=01&2_id=01 " is a no show.
foreach($data as $lines) {
$line = explode('|', $lines);
if(strstr($_GET['2_id'],"$line[2]")) {
print_r($line);
}
elseif(strstr($_GET['1_id'],"$line[0]")) {
print_r($line);
}
}
Can anybody please work out what I'm doing wrong?