Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real problems
trying to connect to my MySQL db with php. I am trying to create a search
form. I can connect and display in my browser a simple call to a db record
but when I try to execute my search script I
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real problems
trying to connect to my MySQL db with php. I am trying to create a search
form. I can connect and display in my browser a simple call to a db record
Thanks David, but my log doesn't tell me anything (I don't think) !! I am
assuming we are referring to the inetpub logs?
-Gary
David Robley robl...@aapt.net.au wrote in message
news:71.4b.09584.6698b...@pb1.pair.com...
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group
.
-Stuart
--
http://stut.net/
- Original Message - From: Stut stut...@gmail.com
Newsgroups: php.general
To: robl...@aapt.net.au
Cc: php-general@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl
@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real
problems
trying to connect to my MySQL db with php
...@aapt.net.au
Cc: php-general@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real
problems
trying
: php-general@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real
problems
trying to connect to my MySQL
Message - From: Stut stut...@gmail.com
Newsgroups: php.general
To: robl...@aapt.net.au
Cc: php-general@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't
11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real
problems
trying to connect to my MySQL db with php. I am trying to create a
search
form. I
@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock-Greene wrote:
Hi, Don't know if this is the right group but I am having real
problems
trying to connect to my MySQL db with php. I am
with the -l (lint)
argument to check the syntax of a file.
-Stuart
--
http://stut.net/
- Original Message - From: Stut stut...@gmail.com
Newsgroups: php.general
To: robl...@aapt.net.au
Cc: php-general@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500
://stut.net/
- Original Message - From: Stut stut...@gmail.com
Newsgroups: php.general
To: robl...@aapt.net.au
Cc: php-general@lists.php.net
Sent: Friday, December 19, 2008 11:58 AM
Subject: Re: [PHP] Re: HTTP Error 500 - IsapiModule
2008/12/19 David Robley robl...@aapt.net.au:
Gary Maddock
Sorry didn't try your suggestion php -1 ... not sure how to!!
Open up MS-DOS prompt.
Figure out where your php.exe lives.
Let's pretend it's in C:\\php5\php.exe
cd to the directory where your script lives.
cd C:\\inetpub\wwwroot\search
C:\\php5\php.exe -l search.php
After
Gary Maddock-Greene wrote:
Yes .. thanks Stuart. If I comment out that line I now get a different
problem!!
Unable to connect to database.
One step closer!!!
Well, now take and place a simple or die(mysql_error()); after your
mysql_connect() call
$rh = mysql_connect() or
On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas li...@cmsws.com wrote:
Gary Maddock-Greene wrote:
Yes .. thanks Stuart. If I comment out that line I now get a different
problem!!
Unable to connect to database.
One step closer!!!
Well, now take and place a simple or
15 matches
Mail list logo