我有这样的:多个阵列foreach循环的MySQL
foreach($textnode as $key => $value) {
$value = stripslashes($value);
$value = mysql_real_escape_string($value, $con);
mysql_query("INSERT INTO paragraphs (textnodes, url)
VALUES ('$value', '$url')");
}
我的表有三列(textnodes,ytext和URL)
textnode和ytext都阵列.....我可以做这对于两个数组?
你是什么意思,对于两个数组? – Ikke
我想知道如何将textnode数组和ytext数组中的值添加到它们各自的行中。 – re1man