Ok, i should know what the problem is, but i dont.
I have a function in another php file...
when i include that file, and then do this...Code:function gettemplate($input){ $gettemplate = mysql_query("select * from template WHERE name = '$input'"); while($r=mysql_fetch_array($gettemplate)) { extract($r); eval ("\$content = \"$content\";"); echo $content; } }
It prints everything it should do, except the variables, which are not thereCode:gettemplate(details);
Does anyone know what im doing wrong?
Thanks![]()






Bookmarks