mysql_query not working and closes server connection
#1

I'm connected to my database with the right information so it's not that. My code for the /jail command is below, yet when I execute the command it does not update the database field and simply closes the server connection. It's not to do with the SQL because I've exported that and tried it directly in phpMyAdmin and it worked fine. I'm using this mysql plugin: https://sampforum.blast.hk/showthread.php?tid=122983

Code is below, any help please?

EDIT: FIXED


Thanks in advance!
Reply
#2

Nevermind, fixed it. Was an issue with the WAY I was connecting to the database.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)