Im trying to store a piece of PHP in a WordPress table (post-content) but somehow I cant get the php tags in because it is interpreted as php.
so the sql string part of the description is empty, anyone can help here?
--
Code:
$description = "<" . "?" . "php $" .
"objectname = \"$name\"; include_once \"". R_ROOT . "ect.php\"; ?" . ">";
$sql="UPDATE `".TTABLE."` SET `post_content`='" . $description. "' WHERE `id` = '$pageid';";
echo $sql . "<br />";
so the sql string part of the description is empty, anyone can help here?
--