Hlep with field array!

2 posts by 2 authors in: Forums > CMS Builder
Last Post: February 13, 2014   (RSS)

By Dave - February 13, 2014

Hi nmsinc, 

I'm not familiar with the way this data is formatted or how you're using it, but I think the problem is the quotes.

Single quotes just store the value as is: print '$num'; // outputs $num

Double quotes "interpolate" (replace) variables with values: print "$num"; // outputs 177

Instead of this: 

$tables_filters=array('`cms_accounts`.`member_company_accounts` is = $num'); 

Try this:

$tables_filters=array("`cms_accounts`.`member_company_accounts` is = $num"); 

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com