Jump to content
MakeWebGames

Recommended Posts

Posted

Fixed a number of features but having trouble with crimes

I added a crime in the staff menu

Had some errors because you had to enter a crystal to add a crime

Got rid of that and the crime added to the database

But when i go to my crimes.php its not there

 

Any help would be appreciated

Posted

There are a few ways in which you can take the route to fix this;

  • Run the query in crimes.php through phpmyadmin, to see the results shown, if any, and what error the query returns, if any.
  • Add, at the end of the query or die(mysql_error()); and take action on what is shown
  • If the query is run with variables includes, hold the query text in a variable, and echo that variable out, to see what the query is
  • Double check everything, to see if there are any requirements that need to be met, for example, level 5, before it is shown.

 

Hope that helps.

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...