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
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://
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: "
> 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
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