porta325 Posted April 22, 2008 Share Posted April 22, 2008 Hey guys, i have something like: for($i=1; $i <= $30; $i++){ echo "something"; } witch works great. But when i try to insert something into my database it only inserts the first record for($i=1; $i <= $30; $i++){ echo mysql_query("INSERT INTO bla bla bla"); } I've uninstaled the wamp server, i did all i could think off but nothing. Any ideeas ? Link to comment https://forums.phpfreaks.com/topic/102311-update-issue/ Share on other sites More sharing options...
zenag Posted April 22, 2008 Share Posted April 22, 2008 for($i=1; $i <= 30; $i++){...not ...$30 Link to comment https://forums.phpfreaks.com/topic/102311-update-issue/#findComment-523840 Share on other sites More sharing options...
Fadion Posted April 22, 2008 Share Posted April 22, 2008 I've uninstaled the wamp server, i did all i could think off but nothing. Any ideeas ? lol thats what i call debugging lol Link to comment https://forums.phpfreaks.com/topic/102311-update-issue/#findComment-523856 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.