I agree, $res = array();
needs to be declared. I tried this at various level in the code of 300 lines, what happenes if error is suppresses, the search output is displayed in different manner.I have posted full code at this link.Can you inform where precisely I must include, so that neither
Robert Cummings wrote:
On Wed, 2006-03-01 at 22:26, [EMAIL PROTECTED] wrote:
Is there a good reason for why you're clogging the mailing list with
your fancy shmancy HTML emails?
he's trying to cut down on the ammount of reading I do ;-)
Cheers,
Rob.
--
PHP General Mailing List (http:
[EMAIL PROTECTED] 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 examp
On Wed, 2006-03-01 at 22:26, [EMAIL PROTECTED] wrote:
>
Is there a good reason for why you're clogging the mailing list with
your fancy shmancy HTML emails?
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.c
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
[EMAIL PROTECTED] wrote:
*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 * put
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'] =
[EMAIL PROTECTED] wrote:
I have done as per your instructions, and put
var_dump($res);
BEFORE
usort($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/pub
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
[EMAIL PROTECTED] wrote:
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()
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
11 matches
Mail list logo