Jump to content

[SOLVED] calling a function again in the same page


Q695

Recommended Posts

I need to call

function user_info($id, $con){
$sql="SELECT * FROM players WHERE id='$id';";
$result=@mysql_query($sql, $con) or die(death($sql));
//get the results
$u_row=mysql_fetch_array($result);
return $u_row;
}

at the start of the page (updating data), then again after the data is updated for a game.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.