Okay, I have my description and information stored in a database, as well as the html too. And I also have a php function called in there to pop up an image when it is clicked. The function contents are located in a file that is 'included' in the page that is calling on the database information. I can't get the php to parse when the database record with it is called.
Like this:
File.php
<?php include('imagepopup.php')?>
Database record:
<?php popup("", "Spirit Call", "images/01001.jpg", "images/01001_thm.gif", "Spirit Call", "ghighlight,20"); ?>
When I view my source of the file, it is showing the <?php...etc. So how can I get the database to recognize the php function whose main command is located in a file that is included on the calling page? I have tried adding the include file to the call page and even adding the command to the database record. It's not working!! Any help would be greatly appreciated, thank you!