I would like to know how to have a foreach statement, where there is a variable called $id, which is a database value.
I would like to know how to make it so that the code tries to find every instance where a row in a mysql database contains the value of the variable: $id, where it can be found multiple times.
Thanks, I have tried to explain this as well as possible.
http://www.php.net/manual/en/function.mysql-query.php