Jump to content

VERY small problem, help please...quick :(


3raser

Recommended Posts

Have to go soon...

 

require("settings.php");

//extract
$extract = mysql_query("SELECT * FROM users");
$numrows = mysql_num_rows($extract);

while ($row = mysql_fetch_assoc($extract))

{
$total = 0;
$overall = $row[frpcash] + $total;

echo "Total FrP cash: ". $overall ."";
           
} 

 

Result: "Total FrP cash: 10Total FrP cash: 10"

 

But it should say 20, AND the text is messed up :/

Link to comment
https://forums.phpfreaks.com/topic/194576-very-small-problem-help-pleasequick/
Share on other sites

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.