php if then based on checkbox

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 5, 2008   (RSS)

Re: [bruno] php if then based on checkbox

By Dave - December 5, 2008

Hi Bruno,

The "undefined variable" usually means you are trying to use a variable that isn't set. In this case it's record. When you see that search for the variable to see if it's being set somewhere.

Try adding this foreach loop around all your code:

<?php foreach ($propertiesRecords as $record): ?>

<?php endforeach ?>

Hope that helps!
Dave Edis - Senior Developer

interactivetools.com