我有一个包含一些值的数组,比如说
arr['one'] = "one value here";
arr['two'] = "second value here";
arr['three'] = "third value here";
这些数值在home.php页面中,并且在页面底部重定向到detail.php页面。 现在我想在直接发生时将此数组从home.php传递到detail.php。
我可以使用post和get方法发送多少种方式。如果可能的话,请告诉我如何在detail.php页面接收和打印这些值。
非常感谢每种类型的示例。