Jump to content

wintech

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by wintech

  1. Please help me with these erros i encounterd while configuring mysql tables

     

    1. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/user/public_html/sample/f..php on line 52

     

    $query = mysql_query("SELECT * FROM ".$table." WHERE ".$where." = '".$equals."'");

    } else {
    $query = mysql_query("SELECT * FROM ".$table."");
    }
    $hasil = mysql_fetch_array($query);
     
     
     
     
     <li class="active"><a href="#investment" data-toggle="tab">ToTal Investments (<?php echo mysql_num_rows(mysql_query("SELECT * FROM invest")) ?>)</a></li>
     
     
     
     
     
       <li class="" onclick="payout();"><a href="#payout" data-toggle="tab">Total Payouts (<?php echo mysql_num_rows(mysql_query("SELECT * FROM invest WHERE status = 'Paid'")) ?>)</a></li>
     
    4. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in 
     
    $query = mysql_query("SELECT * FROM invest WHERE status = 'Paid' ORDER BY id DESC");
          while($rows = mysql_fetch_array($query)) {
          switch ($rows['status']) {
          case "Paid" : $countdown = '<td>'.'<span class="label label-success">Paid!</span>'.'</td>'; break;
         

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.