need php help
****************Article design page*****************
<html>
<head>
<?php
metafun($head);
?>
</head>
<body>
<?php
include "ArticleTemplate.txt";
?>
</body>
</html>
***************article file itself*******************
<?php
$head = "<meta name=description content=hello>";
?>
hi
<?php
function metafun($head){
echo $head;
}
?>
*****************
If this was C it should work, but it's not and it doesn't. Any alternatives out there?
-
ziffgone -
Thanks - 1 reply
{{ DiscussionBoard.errors[805040].message }}-
Darth Executor -
Thanks
{{ DiscussionBoard.errors[805054].message }} -
-
-
ziffgone -
Thanks - 1 reply
{{ DiscussionBoard.errors[805156].message }}-
Darth Executor -
Thanks
{{ DiscussionBoard.errors[805240].message }} -
-
-
Darth Executor -
Thanks
{{ DiscussionBoard.errors[805257].message }} -