public function prescriptionDropdown($drug) { $this->getElement('prescriptionCommonDrug')->selectOption($drug); //$repeatDrug=$drug; sleep(3); }