While Loop Loading Correlating Records Issue

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 4, 2011   (RSS)

Re: [steve99] While Loop Loading Correlating Records Issue

By Jason - January 4, 2011

Hi,

I think the problem is not putting quotes around your $service_feature in your where clause. MySQL thinks you're trying to compare it to another column. Try this:

list($servicesRecordsSF, $servicesMetaDataSF) = getRecords(array(
'tableName' => 'services',
'where' => "title = '".$service_feature."'",
));


Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] While Loop Loading Correlating Records Issue

By Steve99 - January 4, 2011

You are absolutely correct. Thank you!