I am trying to put this on a page so that the code shows up in a textarea, but no such luck....
Any ideas what I am doing wrong.
if(isset($_POST['Submit'])){
$sql="SELECT width, height FROM sizes WHERE id ='$sized'";
$result=mysql_query($sql);
while ($myrow=mysql_fetch_array($result)) {
$width=$myrow["width"];
$height=$myrow["height"];
}
//javascript code
<textarea>
<script language=\"javascript\"
src="<?=getSetting("siteurl")?>/impression.php?m=$membername&s=$sized&js=1">
</script><noscript>
<iframe src="<?=getSetting("siteurl")?>/impression.php?m=$membername&s=$sized"
width="$width" height="$height" scrolling="no" frameborder="0" marginwidth="0" marginheight="0">
</iframe></noscript>
</textarea>
} else {