An Hei
|
Posted: 05/19/2004, 11:10 AM |
|
Hi,
trying to use: CCDLookUp function
I have a label - Label1
Here is what I have in Page_BeforeShow() for testing:
*********************************************
global $search;
global $DBConnection1;
$search->Label1->SetValue(CCDLookUp("description","prodlist","sku='A2101'", $DBConnection1) );
***************************************************
Here is the error message in my browser:
Fatal error: Call to a member function on a non-object in C:\webroot\search_events.php on line 41
I have never used this function before.
Please, help!
This is my first PHP project...
|
|
|
hidran
Posts: 29
|
Posted: 05/20/2004, 7:01 AM |
|
verify the spelling of the variables if it's label1 or Label1.The message is telling that $search is not an object, take a look to see if the grid names
is search
|
|
|
|