fork download
  1. <div id="image-link">
  2. <?php $city = iataToCity($item['destination'], 'en');?>
  3. <script>
  4. var image = getImageURL('<?php echo $city; ?>');
  5. //console.log(image);
  6. $('#image-link').parent('.card-image').css('background-image', 'url(' + image + ')');
  7. </script>
  8. </div>
Runtime error #stdin #stdout #stderr 0.01s 52488KB
stdin
Standard input is empty
stdout
<div id="image-link">
	
stderr
PHP Fatal error:  Call to undefined function iataToCity() in /home/HSjK37/prog.php on line 2