How I can I have all the items in an array as 1 variable so it can be QUERIED in a MySQL query, as 1.
People have given me the foreach stuff but it hasn't worked. Can anyone help plz?
Merry Xmas Oli M
I'm not sure what you want exactly, but you might look at the implode() command. Could you clarify what exactly you want to do? (A code or pseudo-code snippet would be great.)
Yeah here it is:
$users = (Dave, Pete, John);
This is what I want to do:
$result = mysql_query("SELECT * FROM table WHERE name=$users");
And I would like users to contain all the names and not just individuals.
Thanks