Hell yeah $name = $xml->users->user->name is working!! Thanks a lot, Weedpacket!
Actually, the way it looks now, I'm only gonna use these to run a mysql insert and save those bits that I need.
I was thinking to do it this way:
$query = sprintf("INSERT INTO members (`name`, `surname`, `uid`) VALUES ('%s', '%s', '%d')",
mysql_real_escape_string($name),
mysql_real_escape_string($surname),
mysql_real_escape_string($uid),
);
if (!mysql_query($query)) die();
But will try and see if mysql_real_escape_string($xml->users->user->name) works.
Thanks again, Weedpacket.