Results 1 to 32 of 32

Thread: Inserting concatenated data into DB, difficult 1

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    94

    Unhappy Inserting concatenated data into DB, difficult 1

    Sorry, had to change the title of the thread

    PHP Code:
    $i 
    while (
    $i <= 3) { 

    print 
    $i//just to check 

    $result mysql_query("INSERT INTO nbalive_daybyday (GP, Nickname, PTS, FGM, FGA) VALUES ('$GP$i' , '$Nickname$i' , '$PTS$i', '$FGM$i' , '$FGA$i')"); 

    $i++; 

    The $i gets printed correctly but somehow it just fills my database with "1"'s, that's something like 29366 rows !! That's really weird anyone know what this could be ?
    Last edited by Choller; Aug 8th, 2002 at 08:14 AM.
    "Against All Odds"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width