concordia search php

This commit is contained in:
rjawor 2017-02-21 12:01:17 +01:00
parent 26048d3b9c
commit 26dc55cc9d

View File

@ -29,7 +29,10 @@ $data = json_decode($response);
</div> </div>
<div id="content"> <div id="content">
<div id="result"> <div id="result">
<pre><?php print_r($data);?></pre>
<?php <?php
if (!empty($data['result']['bestOverlayScore'])) { if (!empty($data['result']['bestOverlayScore'])) {
$score = $data['result']['bestOverlayScore']*100; $score = $data['result']['bestOverlayScore']*100;
?> ?>