[!--quoteo(post=362877:date=Apr 8 2006, 05:31 PM:name=desithugg)--][div class=\'quotetop\']QUOTE(desithugg @ Apr 8 2006, 05:31 PM) [snapback]362877[/snapback][/div][div class=\'quotemain\'][!--quotec--] umm not sure what you mean but try this <?php $link = mysql_connect('localhost', 'username', 'password'); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('tpf'); if (!$db_selected) { die('Could not select database: ' . mysql_error()); } $result = mysql_query("SELECT message FROM inbox WHERE messageID = 'message id'); if (!$result) { echo 'Could not run query: ' . mysql_error(); exit; } $row = mysql_fetch_row($result); echo $row[0]; // 42 ?> and make it so its in a table and even with html variables like <center><br> etcc.. it should display properly [/quote] nope, not sure you got me -- here's my php code the problem is, like i'm doing in this post, putting line breaks everywhere, my text seems to run together. here's the barebones of my php - very straight forward really. <? $query="SELECT * FROM messages WHERE toID = $CID"; $result=mysql_query($query) or die (mysql_error() . "\nActual query: " . $query); $num=mysql_numrows($result); echo "Inbox"; $i=0; while ($i < $num) { $Msg=mysql_result($result,$i,"message"); echo "Message :: $Msg"; $i++; } ?>