Problems displaying Uploads

2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 10, 2011   (RSS)

Re: [sidcam] Problems displaying Uploads

By Jason - April 10, 2011

Hi,

You can avoid this error by querying the uploads table directly instead of using the getRecords() function. Try this:

$query = "SELECT * FROM `{$TABLE_PREFIX}uploads` WHERE tableName = 'community_reports'";
$reportsRecords = mysql_query_fetch_all_assoc($query);


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/