Re: Fwd: [PHP] Re: usort(): The argument should be an array
| From: | Chris | Date: | Thu, 02 Mar 2006 03:35:20 +0000 |
| Subject: | Re: Fwd: [PHP] Re: usort(): The argument should be an array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231314@lists.php.net to get a copy of this message | ||
Remember14a@aol.com wrote:
Below is the detailed code and error this is giving, *Warning*: usort(): The argument should be an array in */home2/wwwabcde/public_html/search/searchfuncs.php* on line *311* *---------------------------------------------------------------* *Once I enter for example,law at* ** * http://www.abcdefg.us/search/search.php* ----------------------------------------------------------------- Let me know precisely where to enter, $res = array(); ** ** <snip>I guess you missed the part where I said post to pastebin and send us a url?! $i = 0; $res = array(); <<<<<<==================== while ($row = mysql_fetch_row($result)) { $res[$i]['title'] = $row[2]; -- Postgresql & php tutorials http://www.designmagick.com/