
Jason
Staff
/ Moderator

Dec 7, 2011, 10:22 AM
Post #3 of 4
(553 views)
Shortcut
|
|
Re: [Perchpole] Quick MySQL Lookup
[In reply to]
|
Can't Post
|
|
Hi Perch, If you're using CMS Builder version 2.08 or higher, you can use something like this: Since you're using breadcrumb as an option, I'm assuming that this is pulling from a category section. Assuming that this section is named "categories" and the field in your record is called "category", you can get the corresponding record like this:
<?php $category = mysql_get('categories', $record['category']); echo $category['title']; ?> Hope this helps --------------------------------------------------- Jason Sauchuk - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|