I am pulling messages from mysql using PHP to be displayed on a specific page. Instead of displaying the title of the message in the designated title bar and the message in the designated body text box...there is no content displayed and its displaying the title in the url. What am I missing in my query? Or what is going on?
Without some sample code this will be harder but I think you have simply just selected the wrong fields in your MySQL query.
I agree with Josua's answer, you probably made a mistake in your query -- or maybe you're trying to use an associative array when you fetched a normal array. Or vice versa. OR maybe you did fetch an associative array but you spelled all the fields wrong. Or possibly you did something to anger your script, and it's doing this to you to give you a hard time; later it will fix itself by magic to confuse you for days. Without any sample code, there's really no way of knowing.
Your question is vague at best. What title and body are you talking about? The ones in HTML? Getting that to work right is a simple matter of printing it in the right place.
<html>
<head>
<title>
<?php
$title = getTitleFromDB();
print($title);
?>
</title>
</head>
<body>
<?php
$body = getBodyFromDB();
print($body);
?>
</body>
</html>