The topic is called PHP so any discussion towards that subject would be on topic. So Spudinski i would say your incorrect in thinking the discussion was off topic.
On that note would heredoc be slower or faster?
<?php
include "config.php";
global $_CONFIG;
if ( $_GET['code'] != $_CONFIG['code'] ) {
echo 'Buzz off!';
die($h->endpage());
}
define("MONO_ON", 1);
That's my top lines.
don't think anyone actually learns from MC they learn from php.net like myself i was using MC at the time but never learnt from it i improved it. It's more like a building block than a tutor.
something like that i wouldn't format because i mean even with 2k members on your not getting a k members in hosital or jail and if you do it's probably better not to have the comma IMO
Hospital (1009)
Hospital (1,009)
$hc = number_format(mysql_fetch_assoc(mysql_query("SELECT COUNT(`userid`) FROM `users` WHERE (`hospital` > 0);")));
$jc = number_format(mysql_fetch_assoc(mysql_query("SELECT COUNT(`userid`) FROM `users` WHERE (`jail` > 0);")));
Curious why the number_format?
Faz you do have a valid point i think a good solution would be when they setup a gang (if you have a existing game make the gang base in default location) it allows the president(founder) to set a location of the base. Allow them to change location via gang staff panel (only allow president to) and charge them like 10k or something (count the times they change and then do #times changes * 10k).