Can someone please explain to me how I can use htmlentities() in this output code? I want to disable outputing HTML.
printf("<a href=\"%s?id=%s\">%s %s</a><br> \n", $PHP_SELF, $myrow["id"], $myrow["title"], $myrow["text"]);
$output = "<a href=\"{$PHP_SELF}?id={$myrow['id']}\">{$myrow['title']} {$myrow['text']}</a><br> \n"; $output = htmlentities($output);
changed a few things - ie put the arrays into the string
adam