If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Senior Member
    Join Date
    May 2003
    Member #
    edit: I used a different delimeter, and I am almost there.

    However, I am trying to add to an array value at a position of $i and it does not occur

    PHP Code:
        $rn rand(110);
    $i 0$i count($values); $i++)
    $values[$i] !== "27")
    $values[$i] += $rn;
    I have tried longhand ($values[$i] = $values[$i] + $rn) aswell..

    Whats up..?

    second edit: silly me.. It was adding, just affected the last 1 or 2 digits, so I did not notice. thread closed


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 03:01 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: