Reputation: 81
i want get value of array in php , but it don't ... my print_r($_POST) is :
Array
(
[form] => Array
(
[site_core_selection] => Array
(
[0] =>
)
[domain] => Array
(
[0] => com
)
[hidden_premier] =>
[shoping_hidden] =>
[submit] => تائید سÙارش
[formId] => 3
)
)
i want get value of domain[0] , please help me ??
Upvotes: 2
Views: 69
Reputation: 724
In php is very simple, try this code:
<?php
echo $_POST["form"]["domain"][0];
?>
Upvotes: 1