View Single Post
Old 08-24-2008, 10:21 PM   #3 (permalink)
oscargodson
The Wanderer
 
Join Date: Jun 2008
Posts: 19
Thanks: 0
oscargodson is on a distinguished road
Default

Well, I can get my foreach statement to work alone. I can't however get it to place the data into that final html_temp variable.

So, for example the final template would look something like:

PHP Code:
$html_temp ''.$html_doctype.'

<html '
.$html_attr.'>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>'
.$html_title.'</title>
    '
.$css.'
    '
.$jquery.'
    <script type="text/javascript" src="js/jquery.color.js"></script>
    <script type="text/javascript" src="js/jquery.corner.js"></script>
    
</head>

<body>
    
</body>
</html>
'

How can I get those sript tags inside the template so when I go to write it to the .html or .php file at the end of the script they will be in $html_temp variable as the are above?

Last edited by oscargodson : 08-24-2008 at 10:22 PM. Reason: HTML error
oscargodson is offline  
Reply With Quote