0
我試圖通過提交POST形式,但網站已regionand城市下拉菜單,下拉構建這樣捲曲和下拉陣列
有AR的下拉列表中的每個區域,但他們隱藏他們大多數是REGION_ID =>「」,但我的文章和他們的崗位是相同的,但它仍然表示,請選擇一個城市,
他們的崗位
Array
(
[region] => MY04
[district] => Array
(
[MY14] =>
[MY10] =>
[MY07] =>
[MY01] =>
[MY02] =>
[MY03] =>
[MY04] => ML001
[MY05] =>
[MY06] =>
[MY08] =>
[MY09] =>
[MY11] =>
[MY12] =>
[MY13] =>
[MY15] =>
[MY16] =>
[MY99] =>
)
[streetnumber] =>
[streetname] =>
[streetname2] =>
[postcode] =>
[longitude] =>
[latitude] =>
[submit] => Next >
[hidden_listing_id] =>
[process] => 4e870291af244
)
我的陣列
Array
(
[region] => MY04
[district] => Array
(
[MY14] =>
[MY01] =>
[MY02] =>
[MY03] =>
[MY04] => ML001
[MY05] =>
[MY06] =>
[MY07] =>
[MY08] =>
[MY09] =>
[MY16] =>
[MY12] =>
[MY13] =>
[MY10] =>
[MY11] =>
)
[streetnumber] =>
[streetname] =>
[streetname2] =>
[postcode] =>
[longitude] =>
[latitude] =>
[submit] => Next >
[hidden_listing_id] =>
[process] => 4e87114ddef0e
)
一直呆在這一段時間,任何人有任何想法,爲什麼發生這種情況?謝謝!
通過做[區] [州] =價值,每個人解決 $ post [「district [」。st。「]」] = $ city; –
給自己寫一個答案,這個問題被標記爲已回答,請。 –