Jump to content

[SOLVED] foreach loop error


PC Nerd

Recommended Posts

ok, this is the entire output of what you added

 

 

 

<br>mysqli_result Object

(

)

 

NULL

object

<br />

<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at FILE:15) in <b>C:\xampp\xampp\htdocs\Battle-Ages\Crons\cron_incs\Cron_Attack.inc</b> on line <b>21</b><br />

<br />

<b>Warning</b>:  Invalid argument supplied for foreach() in <b>FILE</b> on line <b>23</b><br />

 

 

 

 

anything else?

 

 

Ok So test This.

Downloaded all those files from here http://sourceforge.net/project/showfiles.php?group_id=192566 and extract it.

<?php
//Where path is whaere you have extracted all those downloaded files.
//Keep this file just out of the path folder e.g. paste this file in that folder whaere the path is
include_once('path/config.php');
include_once('path/db/browse.php');
include_once('path/done.php');
$Max_Points = $Page_Date['Points'] * 1.3;
$Min_Points = $Page_Data['Points'] * 0.7;
$conn = mysql_connect("localhost", "root", "");
$test = new browse("db_name", "General_Stats", $conn);//db_name, table_name, $conn
$test->set("Points", ">", $Min_Points);//Set The GIVEN Fields, and its Value
$test->set("Points", "<", $Max_Points)
$test->find('User_ID', 'Points');
$result = $test->adv_output();
print_r($result);
?>

Whats the output

no i havent done it

 

 

is there another way, i dont particualarly have tim eto go downloading and installing stuff.......???

 

if not, are all 4 or 5 files necissary???

 

 

whats the deal and what exactly are they, not just "a quick way to do this"  like "a 3rd party CMS" or something...

 

 

 

thanks

 

PC Nerd

Archived

This topic is now archived and is closed to further replies.

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