2009-12-20, 12:18 AM
Ok im working on perfecting a rep system but the code i have is this:
All i want to know is, rather than it saying "This user" how can i make it say the users name?
E.g
But obviously i can't put just one name because then for everyones rep it would say that specified name. I want it to say the persons name of whos rep your viewing.
No worries i just replaced "This user" with {$post['username']} and it worked a treat.
else if($post['reputation'] == 0)
{
$reputation .= "<img src=\"images/reputations/neutral.gif\" title=\"This user is an unknown quantity at this point\" border=\"0\" />";
All i want to know is, rather than it saying "This user" how can i make it say the users name?
E.g
else if($post['reputation'] == 0)
{
$reputation .= "<img src=\"images/reputations/neutral.gif\" title=\"Grim Line is an unknown quantity at this point\" border=\"0\" />";
But obviously i can't put just one name because then for everyones rep it would say that specified name. I want it to say the persons name of whos rep your viewing.
No worries i just replaced "This user" with {$post['username']} and it worked a treat.