ok thanx Paul !
I think I can work with this code snippet.
Although, a part is missing that is needed in the script which was shown previously.
list($first) = explode('/', substr($PATH_INFO,1));
$parts = explode('|', $line);
if ($parts[2] == $first) {
Well, Im not sure if you left this out for good reason, but without this code snippet, I get a return of the entire database. This is way to much information to be listed on one page.
for example....
http://url.com/orders.php/Paid
list($first) = explode('/', substr($PATH_INFO,1));
if ($parts[2] == $first) {
from this code snippet, I will select the first front slash info after the named PHP page. Now the script goes through the data searching for all lines with "Paid" in parts[2]
datafile:
1|online|Paid
2|call|Paid ...
More... Is it possible to show the results as 4 Columns instead of 4 rows.
I wouldn't ask if this was something I could stumble upon the answers myself, but after different coding attempts Im left in the dark.