Re: FN-FORUM: PHP/MYsql Issue
date posted 4th January 2005 18:50
You could try explicitly defining the $array with:
$array = array();
before this bit:
while ($row_memberstyles = mysql_fetch_assoc($memberstyles)){
$array[] = $row_memberstyles['selstyles'];
}
$count = count($array);
I expect that will get rid of the error, but maybe not fix the
problem. It seems that there are just no results from your query. Have
you got the same data in the db on your host?
Regards,
Joe.
On 4 Jan 2005 19:42:06 -0000, Gavin Cotton [EMAIL REMOVED] wrote:
> When running on my testing system, works perfectly, when I upload and
> run on my host, it dives me the following:
>
> *Warning*: in_array(): Wrong datatype for second argument in
> ** on line *117*