Domcrawler error Malformed field path

i cannot submit form if name using this

$search['guestTypes[0].amount']='1';

always get error:

Malformed field path "guestTypes[0].amount"

i try using:

$html = $crawler->html();
$html = str_replace('[', '%5B', $html);
$html = str_replace(']', '%5D', $html);
$crawler->clear();
$crawler->add($html);

but iam not lucky…

someone help me please…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.