Re: [nathaniel] Blog Columns: Reflecting Column Content Changes throughout site
Hi Nathaniel,
>Does this mean removing just the text (html) portion or
>can I remove the whole php tag...if I wanted to remove
>records for being shown is this possible?
You can remove the whole PHP tag for fields you don't want displayed. Do some experiments and just "undo" if you erase too much.
If you want to "hide" certain records you can create a checkbox with the fieldname "hidden" that will do that.
>Also the link to the detail.php page looks like this link:
>/details.php?1 (how can I create a link to the details.php
>page without showing /details.php?1.
Depends on what you're trying to do. What would you like the url to look like? Does the details.php need to show different records or always the same record? If it needs to show different records you need to have a way to tell it which record to show. One way is with the number in the url, another way is to hardcode the number in the where like this:
'where' => " num = '1' ",
>Also If I wanted to bold the TITLE of my blog post
>do I simply do this in the html?
Yes, something like this:
<b><?php echo $record['title'] ?></b>
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com