mysql_get +

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 30, 2012   (RSS)

Re: [Perchpole] mysql_get +

By Jason - May 30, 2012 - edited: May 30, 2012

Hi Perch,

You'll need to use a second function to get the uploads for that record. You could use the getUploadRecords() function like this:

$type = mysql_get("typetable", $record['type']);
$icons = getUploadRecords('typetable', 'icon', $type['num']);


This will make $icons an array of all the icon uploads in the $type record.

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] mysql_get +

By Perchpole - May 30, 2012

Jason that's fantastic!

Perfect.

:0)

Perch