Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
please help me in my coding. i have some problems in arrays. i have these error: i don't know what to do
Warning: reset(): Passed variable is not an array or object in /home/www/arysta.mybesthost.com/test22/index.php3 on line 43
Warning: reset(): Passed variable is not an array or object in /home/www/arysta.mybesthost.com/test22/index.php3 on line 44
Warning: Variable passed to each() is not an array or object in /home/www/arysta.mybesthost.com/test22/index.php3 on line 45
my coding are like this:Code: Select all
query_lycos($query);
$SearchEngine="Lycos";
reset($lycos_link);
reset($lycos_desc);
while (list($key, $desc) = each($lycos_desc)) {
while (list($key, $link) = each($lycos_link)) {
$t->set_var("link",$link);
$t->set_var("desc",$desc);
$t->parse("Details1","List",true);
}
}
unset($lycos_link);
unset($lycos_desc);
unset($SearchEngine);
$i++;Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]