PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 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? Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 mysqli_result Object is Empty Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 Try to do the same thing using mysql not mysqli. e.g. replace all mysqli with mysql. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 $Att_Start Doesn't Exists $Att_Start_Query Is a Blank Object Something is wrong Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 ive tried this with every other mysqli error ive redeived, but it doesnt work, anyway, i know that it works cos its the same with all the other, roughly 50 queries that are working....... but ill do it anyway..... Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 <br /> <b>Warning</b>: mysql_query(): supplied argument is not a valid MySQL-Link resource in <b>FILE</b> on line <b>7</b><br /> Could not retrive Attack Players. thats the output from replaceing mysqli with mysql Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 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 Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 um, what is this??? from sourceforge Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 A Quick Solution to do the same Job. Did you tested that ?? Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 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 Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 Whats your mysql connection variable name Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 its $DB_Server its in the file that include this one Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 3, 2007 Share Posted April 3, 2007 Show the Line where $DB_Server = mysql_connect(); Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 3, 2007 Author Share Posted April 3, 2007 ok, ive got it working, i cant remember what id did, but i think it was one of the values in the including fiile thanks for all your help.. PC Nerd Quote Link to comment Share on other sites More sharing options...
neel_basu Posted April 4, 2007 Share Posted April 4, 2007 The User Name or password or hostname was wrong in mysql_connect() Quote Link to comment Share on other sites More sharing options...
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.