Jump to content

Grandong

New Members
  • Posts

    3
  • Joined

  • Last visited

Grandong's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yes.. my code like: $crawler = $client->request('GET', $url); $html = $crawler->html(); $html = str_replace('[', '%5B', $html); $html = str_replace(']', '%5D', $html); $crawler->clear(); $crawler->add($html); $search = $crawler->filterXPath('//form[@id="inputForm"]')->form(); $search->disableValidation(); $search['guestTypes[0].amount']='1'; $crawler = $client->submit($search);
  2. this error msg: Malformed field path "guestTypes[0].amount"
  3. 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...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.