Jump to content
MakeWebGames

Recommended Posts

Posted

Re: jail and hospital

What version are you on

Version 2

at the top of the very page on mainmenu code add

<?php
global $db,$c,$ir, $set;
$hc=$set['hospital_count'];
$jc=$set['jail_count'];

 

Now go to the links and replace them with

Hospital Link -

[url='hospital.php']Hospital ($hc)[/url]

 

Jail Link -

[url='jail.php']County Jail ($jc)[/url]

 

I think thats what you are after

+1 me up if this has helped in anyway

Posted

Re: jail and hospital

*Lightbulb Above Sniko's Head* if killahs idea didnt work

Try this in PHPMYADMIN

 

drop the rows hospital and jail in users table and add them again

SQL's

ALTER TABLE users ADD hospital INT(11) DEFAULT 0;
ALTER TABLE users ADD jail INT(11) DEFAULT 0;

 

Otherwise im outta ideas sorry

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...