Jump to content
  • 0
Ronald

Help on why FluxCP Warning on mysql

Question

Hi Team,

I would just like to seek your assistance I've already tried to debug my fluxcp PvP Ranking and WoE ranking but it still gives me error. I will appreciate if you can give your cents.

Warning: mysqli_query() expects at least 2 parameters, 1 given in /* DIR */monthly.php on line 21

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /* DIR */monthly.php on line 22

Warning: mysqli_query() expects at least 2 parameters, 1 given in  /* DIR */monthly.php on line 25

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /* DIR */monthly.php on line 26

 

Line 21 $sql = mysqli_query("SELECT * FROM pvpladder ORDER BY kills DESC LIMIT 1");

Line 22 $row = mysqli_fetch_array($sql);

Line 25 $sql1 = mysqli_query("SELECT * FROM ownladder ORDER BY currentown desc limit 1");

Line 26 $row1 = mysqli_fetch_array($sql1);

 

Thank you so much!

Edited by Ronald
Link to comment
Share on other sites

2 answers to this question

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.

Guest
Answer this question...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.