Jump to content

Tim

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Tim's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I believe this would work: [code]<? $sql ="SELECT * FROM log WHERE code = '".$_SESSION['code']."'"; $result = @mysql_query($sql,$connection) or die(mysql_error()); $sum = 0; while ($rows = mysql_fetch_array($result)) {     print "$rows[id]<br>";     $sum += $rows['id']; //add this number to the sum. } ?> // $sum now equals 1600. [/code] :D
  2. Use [a href=\"http://www.php.net/mcrypt\" target=\"_blank\"]mcrypt[/a].
×
×
  • 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.