Quote:
Originally Posted by Crystal Lee
Kevin. I code php and html actually. Although its childish, I coded tpv-rpg. Which is a pokemon website with over 1000 members currently.
|
HTML? All the forums I know include ZERO html, here, how bout you explain what this code means:
Code:
$user_id = request_var('user_id', 0);
$sql = 'SELECT username
FROM ' . USERS_TABLE . '
WHERE user_id = ' . $user_id;
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
echo $row['username'];
Explain it's usage and what it's doing, because more than half of the people here are just as dumb as hell and think they can get away with lying.