Results 1 to 3 of 3

Thread: [RESOLVED] insert inside while loop !!!

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member samsyl's Avatar
    Join Date
    Jun 2001
    Location
    London
    Posts
    338

    [RESOLVED] insert inside while loop !!!

    how can i write a insert command inside a while loop ?
    i did try like following code but its not working !!!

    Code:
    while($result=mysql_fetch_array($sql))
     {
     mysql_query(INSERT INTO ......);
     }
    Last edited by samsyl; Jun 2nd, 2009 at 08:24 AM.

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