Ich will Zeichen "&" durch "leer" ersetzen.
Code:
Leider kommt diesen Fehler:
Notice: Undefined index: Web in on line 82
Warning: Invalid argument supplied for foreach() in on line 82
Was kann ich machen?
Code:
PHP:
foreach($decode['SearchResponse']['Web']['Results'] as $res) { // foreach loop, to loop through each array value (result) as $res
echo ""; // display everything
$result = mysql_query("INSERT INTO old (name) VALUES (".$res['Title'] = str_replace("&", "", $res['Title']).")");
}
Leider kommt diesen Fehler:
Notice: Undefined index: Web in on line 82
Warning: Invalid argument supplied for foreach() in on line 82
Was kann ich machen?