Ok, I've spent some time reading the docs at php.net and I'm still confused.
After a couple hours, I have an include file working with a statement like:
include (dblib.inc);
However, to add to my confusion, I've got a second include file statement on
the next line:
include (userlib.inc);
And
Hi All,
This is strange. I've got some functions I want to include in my PHP
documents. Well, I can never get anything to work if I include the file
that holds the functions, but, if I insert the functions into the PHP
document in question, everything works??
Now, I've checked to ensure that
Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 5:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] include() statement hell!
Ok, I've spent some time reading the docs at php.net and I'm still
confused.
After a couple hours, I have an incl
b
server
to recognize the request correctly.
#3. Please give us a little more detail on the errors you're getting (any
specific messages would be nice).
- Jonathan
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:42 PM
To: 'Brad Melendy'
ly.
#3. Please give us a little more detail on the errors you're getting
(any
specific messages would be nice).
- Jonathan
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:42 PM
To: 'Brad Melendy'; [EMAIL PROTECTED]
Subject: RE:
rmal way by finding the problem
with the paths rather than trying to screw with your php.ini or httpd.conf
file - otherwise you'll have a script that might not work if you ever have
to move your scripts or copy them to a development server or something.
- Jonathan
-Original Message-
Fr
in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This might be your problem:
php?
Try:
?php
:)
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() s
hes (pun intended for everyone who has run into this problem
before).
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Thanks Jonathan,
Your sug
Hi All,
I've stumped myself here. In a nutshell, I have a function that returns my
array based on a SQL query and here's the code:
-begin code---
function getCourses($UID)
{
global $link;
$result = mysql_query( SELECT C.CourseName FROM tblcourses C, tblusers U,
going to
revisit the mysql_fetch_array function right now. Thanks for your help, it
is greatly appreciated.
...Brad
Steve Edberg [EMAIL PROTECTED] wrote in message
news:p05100300b943f2a7feef@[168.150.239.37]...
At 3:27 PM -0700 6/29/02, Brad Melendy wrote:
Hi All,
I've stumped myself here
someone else next time. :-)
Steve Edberg [EMAIL PROTECTED] wrote in message
news:p05100300b943f2a7feef@[168.150.239.37]...
At 3:27 PM -0700 6/29/02, Brad Melendy wrote:
Hi All,
I've stumped myself here. In a nutshell, I have a function that returns
my
array based on a SQL query and here's
11 matches
Mail list logo