okok.. i have a text file that looks somehting like this:
1|apple|f|red
2|banana|f|yellow
3|radish|v|red
4|tomato|v|red
5|water melon|f|red
i use this:
<?PHP
$file = "file.txt";
$fp= fopen($file, "r");
$content = fread($fp, filesize($filename));
fclose($fp);
$item = explode("|", $content);
?>
Now my question is.. what do i write to print the word "banana" and "yellow" etc.. ?