On 02/03/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Can you inform where precisely I must include, so that neither error is
> displayed or search output is displayed differetly.
Oh, I give up. Where's my Little Book of Calm?...
-robin
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
Remember14a wrote:
>
> $i = 0;
> while ($row = mysql_fetch_row($result)) {
>$res[$i]['title'] = $row[2];
>$res[$i]['url'] = $row[1];
>if ($row[3] != null && $show_meta_description == 1)
> $res[$i]['fulltxt'] = $row[3];
>else
>$res[$i]['fulltxt'] = $row[4];
>
>
>$res[
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
[EMAIL PROTECTED] wrote:
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.
Please include your original post so we can all see it so we don't have
to search to find what you're talkin
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.
On 28/02/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 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 err
16 matches
Mail list logo