Posted by Fluffy Convict on 10/10/03 11:18
Kees Boer wrote:
> Can I use PHP code, before I use HTML code? For instance can I use it before
> declaring the META tags and the heading and what have you?
>
> Kees
>
>
Of course you can. I never really understand these kind of questions.
Why don't you just try it?!
<?php
$output = '';
for ($i = 0; $i > 10; $i++) {
$output.= 'foo! ';
}
?>
<html>
<head>
<title>My foo page</title>
<meta name="stuff" value="<?php echo $output; ?>">
</head>
....etc
Navigation:
[Reply to this message]
|