This topic is locked

$values

11/7/2008 6:50:59 AM
PHPRunner General questions
G
gbhmayer1 author

When I use the variable $ values [ "my_field"] to print a field of my table, an error occurs: Variable undefined: values

T
thesofa 11/7/2008

use $values["myfield"]

not $ values.....

G
gbhmayer1 author 11/7/2008

I used $values. I need to use global $conn?

G
gbhmayer1 author 11/7/2008

I need to use $values in the Event List page: before display, but the variable $values does not appear in the function BeforeShowList(&$xt,&$templatefile)

T
thesofa 11/7/2008

if it says it is not defined, it will not be available for that function, the help pages tell you a bit about which functions do what, please explain a ot more about what you are trying to achieve.

J
Jane 11/10/2008

Hi,
there is no $values array in the List page: Before display event.

Please explain what you want to achieve and I'll try to help you to write proper code.