Why not have:
PHP Code:
<?php
echo "<html><body><!-- other settings -->";
if (isset($clicked) && $value == "1"){
mysql_query("INSERT INTO popfiller (desc) VALUES ('$desc')");
$cell1 = "yes";
}
if (isset($cell1)){
echo "this will dissapear";
}
echo "
Other html part of the page...
";
if (isset($clicked) && $value == "1"){
mysql_query("INSERT INTO popfiller (desc) VALUES ('$desc')");
$cell2 = "yes";
}
if (isset($cell2)){
echo "when this appears";
}
Since if you have the <html> in the ----HTML HERE--- it will send a header to the browser, instructing it to expect the rest of the page as HTML where the "this will.." part is expected as raw text.
Since we know, every thing send from the page, is as html, we might aswell instruct the viewer that this will be html, and avoid any possible error in that part.