neither error is displayed or search output is displayed differetly.
$res = array(); in code posted at below link.
http://pastebin.com/579621
--- Begin Message ---
Remember14a wrote:
>
> $i = 0;
> while ($row = mysql_fetch_row($result)) {
>$res[$i]['title'] = $row[
Here is the url
http://pastebin.com/579621
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/s
If I put this code
$res = array();while($row = mysql_fetch_assoc($query_result)) {
before
usort($res, "cmp"); give this error
Parse error: parse error, unexpected $ in /home2/wwwabcde/public_html/search/searchfuncs.php on line 316
even putting this code before
$res[$i]['size'] =
I have done as per your instructions, and put
var_dump($res);BEFOREusort($res, "cmp");
Please, go again to
http://www.abcdefg.us/search/search.php
Enter law we get this output.
NULL Warning: usort(): The argument should be an array in /home2/wwwabcde/public_html/search/searchfuncs.php on
let me give you more details to understand problem with the said code.
go to this link, please.
http://www.abcdefg.us/search/search.php
in search enter,
Justice, you get response without an error.
Now enter law,
you get error, pasted below,
Warning: usort(): The argument should be an a
You have written,
Now do a var_dump($res) and see what *is* in $res
or do print_r().
Can you precisely mention where you want me to put this piece of code.
No this doesnt solve error.
let me give you more details to understand problem with the said code.
go to this link, please.
http://www.abcdefg.us/search/search.php
in search enter,
Justice, you get response without an error.
Now enter law,
you get error, pasted below,
Warning: usort(): The a
Can anyone comment and fix this error
Warning: usort(): The argument should be an array in
/home2/wwwabcde/public_html/search/searchfuncs.php on line 300
below is part of the code which gives this error, the line highlighted
9 matches
Mail list logo