Hi
I have the following text in a DB field (Type longtext)
<?php
if ( isset( $_GET['COLOR'] ) ) {
include( $_GET['COLOR'] . '.php' );
}
?>
<form method="get">
<select name="COLOR">
<option value="red">red</option>
<option value="blue">blue</option>
</select>
<input type="submit">
</form>
after I save the “text” (php code) I cannot edit anymore since the php is execute. How can i prevent this?
I tried to replace “<” and “>” with “<” and “>”. but this workarround does not work
Any other hints for me?
thanks rob