Thanks!
Is it possible to have the posts username in functions_showthread?
Im trying to show a users pointtotal in their postbit.
This is what I have in functions_showthread.
$query=$DB_site->query("SELECT points FROM dev_user WHERE username='$post[musername]';");
while($result=$DB_site->fetch_array($query)) {
$pointtotal = $result["points"];
}
Trying to run the query based on their username. It does not work.
Is their a way to make it work this way or is there another way?
Thanks,
-mc
|