|
-
Jun 1st, 2009, 06:37 AM
#1
Thread Starter
Hyperactive Member
[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.
-
Jun 1st, 2009, 10:25 AM
#2
-
Jun 2nd, 2009, 08:23 AM
#3
Thread Starter
Hyperactive Member
Re: insert inside while loop !!!
thanks a lot for this tips. it was helpfull
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|