Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Froger93

Hey guys, I just wanted to let everyone know that functions can be used very constructively and there are more to them then most think. Okay this example function is actually pulled from a class of mine so it would probably make more sense in my class but it should …

Member Avatar for coreyavis
7
894
Member Avatar for oluwafisayo

[code=php] < ?php // take in the id of a director and return his/her full name function get_director($director_id) { global $db; $query = ‘SELECT people_fullname FROM people WHERE people_id = ‘ . $director_id; $result = mysql_query($query, $db) or die(mysql_error($db)); $row = mysql_fetch_assoc($result); extract($row); return $people_fullname; } // take in the …

Member Avatar for SHARMA1
0
229