Mchl Posted January 11, 2009 Share Posted January 11, 2009 I am not asking about that. I am asking if it displays the numbers you get from database, the + sign, maybe some error messages etc. Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734453 Share on other sites More sharing options...
porko2004 Posted January 11, 2009 Author Share Posted January 11, 2009 its ment to add to fields accounts up and its not doing so. Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734455 Share on other sites More sharing options...
Mchl Posted January 11, 2009 Share Posted January 11, 2009 So it is still displaying: 686134641 + 1000 instead of: 686135641 ? Â Â Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734456 Share on other sites More sharing options...
porko2004 Posted January 11, 2009 Author Share Posted January 11, 2009 no it displays this now.  http://58.173.92.23/test/index/shadows/money.htm  look there Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734460 Share on other sites More sharing options...
Mchl Posted January 11, 2009 Share Posted January 11, 2009 So basically it does not display data from database.  Please change $rank = mysql_query("SELECT          name, money, money_saved         FROM         cq_user              ORDER BY         money + money_saved        DESC        LIMIT 0,15        ;");  to  $rank = mysql_query("SELECT          name, money, money_saved         FROM         cq_user              ORDER BY         money + money_saved        DESC        LIMIT 0,15        ;") or die(mysql_error());  and report if it displays an error message (paste the message if it does). Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734465 Share on other sites More sharing options...
porko2004 Posted January 11, 2009 Author Share Posted January 11, 2009 i fixed it TY Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734468 Share on other sites More sharing options...
Mchl Posted January 11, 2009 Share Posted January 11, 2009 Was it an error in column name? Quote Link to comment https://forums.phpfreaks.com/topic/138851-solved-php-question-please-help/page/2/#findComment-734469 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.