I'm trying to hide the following code listed below from members that are not logged in how can I do this? And what parts of my code do I need to change or add to it?
Here is the code I want only logged in members to see.
<div id="r">
<h2>some thing</h2>
<form method="post" action="index.php">
<fieldset>
<input type="text" size="40" class="g" name="tag" value="<?php if (isset($_POST['tag'])) echo $_POST['tag']; ?>" />
<input type="submit" name="submit" id="submit" value="s" class="t" />
<input type="hidden" name="submitted" value="TRUE" />
<br />
<span>(Some words)</span>
</fieldset>
</form>
</div>