I want to get the variable $place from function getaddress and pass the value to function breakintostrings. It seems i cant get the variable $place.
<?php
$username ="1224hammer";
getaddress ($username);
function getaddress($username)
{
$place = row['place'];
function format_address($record)
{
function breakintostrings($x,$y,$z)
}
breakintostrings($place,"$y","$z")
}
?>
Create the variable
$placeoutside of yourgetaddressfunction and import it into yourbreakintostringsfunction using theglobalkeyword: