What is going on?
Ok, I need help.
I made this page (it is part of a mail system) it is an inbox and it won't work, there is some error in my code but I can't find it.
Here's My code:
<?
$query ="SELECT id, send, sub, tim, typ FROM mail WHERE rec='$session->username'";
$result=mysql_query($query);
while (list($id,$send,$sub,$tim,$typ) =
mysql_fetch_row($result)) {
echo "From: <a href="viewplayer.php?user=$send>$send</a> Sent: $tim <b>$sub</b> <a href=viewmail.php?id=$id>View Message</a>";
}
?>
send-person who sent it
sub-subjest
tim-time it was sent
typ-type of message (not in use yet.)
It should show "From: User(then user is hyperlink to viewplayer.php) Sent: When it was sent (subject in bold) Then a hyperlink to view the message.
What's wrong with this??
Subject
Written By
Posted
What is going on?
March 31, 2006 10:25AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.