note 68294 deleted from function.sort by nlopess
| From: | nlopess@php.net | Date: | Fri, 21 Jul 2006 10:52:33 +0000 |
| Subject: | note 68294 deleted from function.sort by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115004@lists.php.net to get a copy of this message | ||
Note Submitter: memzap at gmail dot com
----
while ( ! feof( $fp ) ) {
$m14line[] = fgets( $fp, 1024 );
sort($m14line);
list($m14title1, $m14titleurl1, $m14rating1) = split ('\|', $m14line[0]);
list($m14title1, $m14titleurl1, $m14rating1) = split ('\|', $m14line[1]);
list($m14title1, $m14titleurl1, $m14rating1) = split ('\|', $m14line[2]);
list($m14title1, $m14titleurl1, $m14rating1) = split ('\|', $m14line[3]);
}
?>
Sorry the code after split was wrong, but it wasn't actually wrong in my code in my program.
Was just posting this as an example.
Basically I am trying to exclude words like "a", "the", or anything that I would
like to use as a word to exlude before the sort; but then after the sort I would like for the full
title to show up in the sort. Sorry if this was to much, but I had to repost after the miss print
of my code.