Jump to content

one not working.


grlayouts

Recommended Posts

ok i now have the script.

 

the only bit that is not updating is the wages part from the credits.

 

<?
include('config.php');
$wagebill = ($stat[employees]*$stat[wages]);
error_reporting(E_ALL) ; ini_set('display_errors', 1);
mysql_query('UPDATE players SET drugs = drugs + (drugfact*300), dpayout = (drugfact*300), steaks = steaks + (steakhouse*300), spayout = (steakhouse*300);');

mysql_query('UPDATE players SET credits=credits-($wagebill)');

?>

Link to comment
https://forums.phpfreaks.com/topic/41050-one-not-working/
Share on other sites

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.