PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I need help figuring out how to name input tags if I want to create and array with the information to so I can input the values into a table in a databse. I have a list of players that have a last name, first name, jersey number, and postion. I gave all the input tags that same name to start with.
select * from `table` where `team` IN ('$newteams')
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
What I really need to do is create and INSERT statement for each set of records so I can insert them in to a table in database. I added your code in and got the comma delimited values, but I really need them in separate groups based on their id.
I have backslashes in the first part of the statement which mySql does not like. Also I know this seems like it should an easy thing to figure out, but I haven't figured out how to break out keys and value into their own variables within the for loop. For example..
I took out the single quotes in my original form. That seem to make it right. Still looking to break out each value with it's key into a variable. Would I use explode function to do this?