Re: Fwd: Re: usort(): The argument should be an array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remember14a@xxxxxxx 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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux