[FX.php List] Undefined variable: currentSearch

Andy Gaunt andy at fmpug.com
Tue Jan 24 08:54:02 MST 2006


Wayne -

Have not looked at the demo files, but looks like the currentSearch needs to
be declared before you try to append to it.

You could try adding $currentSearch = NULL; before your line 54

Andy Gaunt
T: 407.810.4722
andy at fmpug.com
http://www.fmpug.com    

Recipient of FileMaker's 2005 "Mad Dog" Public Relations Award

For chapter locations, dates & times please visit the website at
http://www.fmpug.com If you can make it to a meeting, please RSVP at
http://www.fmpug.com/rsvp.php

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Wayne Beasley
Sent: Monday, January 23, 2006 10:12 PM
To: fx.php_list at mail.iviking.org
Subject: [FX.php List] Undefined variable: currentSearch

Downloaded the FX Demo and everything works when you show all data but
when you search by either title or author receive the following error:

"Notice: Undefined variable: currentSearch in
C:\BigApache\Apache\htdocs\FX\index.php on line 45" even though it
returns the correct data.  In addition, sorting stops working at that
point as well.

Any thoughts?  I suspect something with $currentSearch .= '&' . "$key="
. urlencode($value); on Line 54 using GET but don't where to turn.




Wayne Beasley
Special Assistant to Superintendent 
Information Technology Services
Craven County Schools
252-514-6315
252-514-4300 Fax

http://www.craven.k12.nc.us
Commitment  -  Teamwork  -  Excellence

All e-mail correspondence to and from this address is subject to the
North Carolina Public Records Law, which may result in monitoring and
disclosure to third parties, including law enforcement.
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list




More information about the FX.php_List mailing list