I'm modifying a class. I need to use functions outside of the class like dbConnect(). How do I reference functions defined outside of the class?
private function getLogin() { $link = dbConnect(); $query = "SELECT user_name, email_server FROM email_admin"; $result = mysql_query($query, $link); if ($row = mysql_fetch_array($result)) { $this->Username = $row[0]; $this->Host = $row[2]; } } It currently does not see to like external references. Michele
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php