Quote:
Invalid SQL: SELECT field5 FROM userfield WHERE userid=Array
|
Looks like you declared an array and didn't give it any values. Whatever variable your using (userid = '$myarray'), you're probably not defining an index for it to look at.
Try, before that query doing something like:
$temp = $arrayname[userid]
where $arrayname is the name of the array that is being returned by mysql_fetch_array() and replacing your query with:
SELECT field5 FROM userfield WHERE userid = '$temp'
Just a quick guess without actually seeing any of the files.