QUOTE(Gsurface @ May 15 2006, 04:58 AM) [snapback]97793[/snapback]
QUOTE(stlava @ May 15 2006, 03:21 AM) [snapback]97792[/snapback]
CODE
Warning: Invalid argument supplied for foreach() in /home/flexbeta/public_html/torrents/search.php on line 62
I get that constantly too.. Still in beta though so not to worry. I like the concept and will be using it in the future.
Usually that error comes up when no results are returned. Try searching using the Firefox plugin.
Tel your obviously 1337 web developer to modify his script a bit
In PHP there are many ways to hide errors
error_reporting(0);
or if you want to disable it for a single line of code, i.e. line 62!
@[line of code]
And to be super professional put
@[line of code] or die("Sorry FlexTorrents encountered an error.");
Or just validate the input to the foreach loop when its recieving the data =)