Re: [PHP-DB] referencing external functions

2005-02-15 Thread Bastien Koert
link. bastien From: "J. Connolly" <[EMAIL PROTECTED]> To: PHP list Subject: Re: [PHP-DB] referencing external functions Date: Tue, 15 Feb 2005 14:35:21 -0500 Thanks Bastian, I did not understand that require and include are not considered arguments. When i removed the parentheses e

Re: [PHP-DB] referencing external functions

2005-02-15 Thread J. Connolly
Thanks Bastian, I did not understand that require and include are not considered arguments. When i removed the parentheses everything was ok. I was also having a problem because my hosting company shut down my database for having too many connections... jzf -- PHP Database Mailing List (http://

RE: [PHP-DB] referencing external functions

2005-02-15 Thread Bastien Koert
unction to create the link $result = mysql_query($sql, $link) or die (mysql_error()); echo ""; while ($array = mysql_fetch_array($result)) { $id = $array['link_name']; $url= $array['link_url']; echo "$id\n"; } echo ""; } ?> bastien From: "

Re: [PHP-DB] referencing external functions

2005-02-15 Thread Matt M.
> and am trying to use it in this links3.php > > include('functions.php') or die (mysql_error()); > ?> > > but I keep getting the error message > *Warning*: main(1): failed to open stream: No such file or directory in > *C:\Accounts\dbadream\wwwRoot\links3.php* on line *4* > *Warning*: main(): F

[PHP-DB] referencing external functions

2005-02-15 Thread J. Connolly
Sorry if this is a duplicate. I accidentally sent to the listserve from the wrong address. I am having trouble calling external functions. I am trying to use this to clean up the code in the display. I have this as the function.php function links() { global $link; $sql = "select * from jozef_l