Jump to content

tetah31

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tetah31

  • Rank
    Newbie
  1. tetah31

    from api to php

    good evening, i'm trying to get info from openweathermap to my own site i only know html - css and a little php. php say that the first line <?php $url = .... ?> have a error i d'ont undestand the problem. here is my code that i use for getting this information : <aside> <?php $url = https://api.openweathermap.org/data/2.5/find?q=Veurne&units=metric&type=accurate&mode=xml&APPID=my own id; $getweather = simplexml_load_file ($url); ?> <?php $gethumidity = $getweather->list->item->humidity('value'); ?> <?php $gettemp
×
×
  • Create New...