Okay, how would I go around doing a core when on another page I want something like so it can lookup the whole table, so if I wanted online_users I could use something like this:
$core-> new Core();
echo $server_status['online_users'];
And if I wanted something like server_name I could use something like
$core-> new Core();
echo $server_status['server_name'];
And the core file would be like class Core
{
{ function server_status()
mysql_query("SELECT * FROM server_status") // * being value
}
}
The core file is what I need.