The Stack Overflow podcast is back! Listen to an interview with our new CEO.
    Bumped by Community user
    Bumped by Community user
3 improved formating
source | link

I am trying to get this to work, please helpbut it doesn't. What is wrong?

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=...";
$tutorgeocode    = simplexml_load_file($tutorgeocodesrc);
$tutorlat        = $tutorgeocode->Result[0]->latitude;
$tutorlng        = $tutorgeocode->Result[0]->longitude;
foreach($tutorgeocode->Result[0]->latitude as $child) 
{
    update_post_meta($user_id, 'tutorcords', $tutorlat);
}

I am trying to get this to work, please help.

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=...";
$tutorgeocode = simplexml_load_file($tutorgeocodesrc);
$tutorlat = $tutorgeocode->Result[0]->latitude;
$tutorlng = $tutorgeocode->Result[0]->longitude;
foreach($tutorgeocode->Result[0]->latitude as $child) 
{
    update_post_meta($user_id, 'tutorcords', $tutorlat);
}

I am trying to get this to work, but it doesn't. What is wrong?

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=...";
$tutorgeocode    = simplexml_load_file($tutorgeocodesrc);
$tutorlat        = $tutorgeocode->Result[0]->latitude;
$tutorlng        = $tutorgeocode->Result[0]->longitude;
foreach($tutorgeocode->Result[0]->latitude as $child) 
{
    update_post_meta($user_id, 'tutorcords', $tutorlat);
}
2 improved formating
source | link

I am trying to get this to work, please help.

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=..."; $tutorgeocode = simplexml_load_file($tutorgeocodesrc); $tutorlat = $tutorgeocode->Result[0]->latitude; $tutorlng = $tutorgeocode->Result[0]->longitude; foreach($tutorgeocode->Result[0]->latitude as $child) { update_post_meta($user_id, 'tutorcords', $tutorlat); }

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=...";
$tutorgeocode = simplexml_load_file($tutorgeocodesrc);
$tutorlat = $tutorgeocode->Result[0]->latitude;
$tutorlng = $tutorgeocode->Result[0]->longitude;
foreach($tutorgeocode->Result[0]->latitude as $child) 
{
    update_post_meta($user_id, 'tutorcords', $tutorlat);
}

I am trying to get this to work, please help.

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=..."; $tutorgeocode = simplexml_load_file($tutorgeocodesrc); $tutorlat = $tutorgeocode->Result[0]->latitude; $tutorlng = $tutorgeocode->Result[0]->longitude; foreach($tutorgeocode->Result[0]->latitude as $child) { update_post_meta($user_id, 'tutorcords', $tutorlat); }

I am trying to get this to work, please help.

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=...";
$tutorgeocode = simplexml_load_file($tutorgeocodesrc);
$tutorlat = $tutorgeocode->Result[0]->latitude;
$tutorlng = $tutorgeocode->Result[0]->longitude;
foreach($tutorgeocode->Result[0]->latitude as $child) 
{
    update_post_meta($user_id, 'tutorcords', $tutorlat);
}
1
source | link

How to update post meta with xml data

I am trying to get this to work, please help.

$tutorgeocodesrc = "http://where.yahooapis.com/geocode?location=" . urlencode($tutoraddressfull) . "&appid=..."; $tutorgeocode = simplexml_load_file($tutorgeocodesrc); $tutorlat = $tutorgeocode->Result[0]->latitude; $tutorlng = $tutorgeocode->Result[0]->longitude; foreach($tutorgeocode->Result[0]->latitude as $child) { update_post_meta($user_id, 'tutorcords', $tutorlat); }