Jump to content

mozgras

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mozgras's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks very much for your reply - I have other things happening in the while loop... I got rid of everything extraneous and it's working now.
  2. Hi, I'm new to the thread and I'm having an issue using a while loop and it seems mysql_fetch_assoc skips every 3 records. $query = "SELECT `id` FROM `ea_contacts` WHERE 1 ORDER BY id"; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)) { $id = $row['id']; echo "id=".$id.","; } I'm expecting 1,2,3,4... But I'm getting 1,3,6,9.... Any help would be awesome. Thanks.
×
×
  • 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.