Re: [jsnook] Using PHP code on an htm page
Hi,
To put your php into an html design, you need to do the following:
- Copy all of your html code and put it in a .php file.
- Near the top of your file make sure you have a line that looks like this (you'll find it in the code generated by cmsb)
<?php require_once("cmsAdmin/lib/viewer_functions.php"); ?>
- After that, you can put <?php ?> tags directly into the html content. For example:
<div>
<?php echo $record['content']; ?>
</div>
So, to put the content generated by cmsb beside your pictures, just set up html code as if you were going to type the content in yourself, then place the php code where you want the content to be.
I can't actually see the .php code you're using, so if you run into any more trouble, just attach the file you're working with and I'll take a look at it for you.
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/