Jump to content
  • 0

Help on why FluxCP Warning on mysql


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

I already did, but same issue. I think I have to reinstall it from scratch.

Edited by Ronald
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...