Unreal Posted June 24, 2012 Posted June 24, 2012 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 Quote
sniko Posted June 24, 2012 Posted June 24, 2012 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.