I am using an array which I am trying to then have certain portions of the array put into a table. This is the code that I am using. This code is in a for loop which goes so many times:
mysql_query("INSERT INTO users1(usernames) VALUES(current($teammembers))");
Should I put the current($teammembers) in quotes?
Also, say I have a variable named: $something and I need $something to count up like this:
$something1, $something2, etc...
How can I get a variable that counts up in a for loop to make different variable names? I was thinking of something like: $something$countup, would that work?
Thanks for any help!
Adam