[
function get_director() {
global $movie_director;
global $director;
$query_d = âSELECT people_fullname â .
âFROM people â .
âWHERE people_id=â$movie_directorââ;
$results_d = mysql_query($query_d)
or die(mysql_error());
$row_d = mysql_fetch_array($results_d);
extract($row_d);
$director = $people_fullname;
}
/]
this is script is just fine i got no problem while executing on the browser.
yet one thing i am not able to understand that:
in WHERE clause why did author choose global variable that was recently defined,
