/* Decoded by unphp.net */ ?>getData($txtSQL); $nbDemande = $sttDemande['nbDemande']; $jsonResponse = array (); $jsonResponse["existe"] = ( $nbDemande > 0 ) ? true : false; echo json_encode($jsonResponse); ?>