[color=#000000]Warning[/color][color=#000000]: mysql_fetch_array(): supplied argument is not a valid MySQL result [/color][color=#000000]resource in [/color][color=#000000]C:\AppServ\www\mst-script\trunk\profile.php[/color][color=#000000] on line [/color][color=#000000]66[/color]
$query = "SELECT * FROM files WHERE user_name='$user_name'"; $rs = mysql_query($query); while($row = mysql_fetch_array($rs)){ // Write the value of the column FirstName (which is now in the array $row) echo $row['user_name'] . "<br />";}