I am trying to display some info from a ajax call using firephp and firebug.I am able to display someinfo when the ajax call is done. Is there a way to display while it is executing? For example my code below id inside a foreach loop.
foreach ($this->PreQualcalls as $value) {
ob_start();
if(isset($array ['env:Envelope'] ['env:Body']['n1:preQualResponse1207'])){
$this->setKeyNamePreQualResponse("n1:preQualResponse1207");
$this->setKeyNameServiceProducts("n1:ServiceProduct1207");
$this->setKeyNameModemProducts("n1:ModemProduct1207");
$this->firephp->log("entered the 1207 call");
}else{
$this->setKeyNamePreQualResponse("n1:preQual1308Response");
$this->setKeyNameServiceProducts("n1:ServiceProduct1308");
$this->setKeyNameModemProducts("n1:ModemProduct1308");
$this->firephp->log("entered the 1308 call");
}
ob_flush();
$this->firephp->log($this->getKeyNamePreQualResponse(),"Response type");
}
i want to be able to display getKeyNamePreQualResponse() in the console as it is being going through the loop.
Is it possible?
thank you.