[code] <? include "../mysqlcon.php"; $admin_info = mysql_fetch_assoc(mysql_query("SELECT * FROM bhost_admin")); $n = basename($_SERVER['PHP_SELF']); . .(this is still php) . elseif($page == "admin_broadcast.php") { $b19 = "<b>"; } $head = " <html> <head> <title>$admin_header1</title> . .(this is html in a php variable) . <center> <br> <img src='../images/bh.gif' border='0' style='margin-left: 6px;'> </center>" [/code] on the last line, where img src is, i want to make table, and have the img on the center, an ad on the left and my php query on the right. Hope it's a bit more clear now, sry for the initial crappy explanation :)