RE: [PHP] more easy questions but getting there.
| From: | Matthew Darcy | Date: | Wed, 23 Jan 2002 17:12:29 +0000 |
| Subject: | RE: [PHP] more easy questions but getting there. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81718@lists.php.net to get a copy of this message | ||
sorry that was the error I was getting, but a complete school boy error, I
had not qouted the
<php? and ?> in the right areas of dbconnect.php so it was printing the
text instead of running it in PHP.
sorry for wasting the lists time.
-----Original Message-----
From: Nick Wilson [mailto:nick@explodingnet.com]
Sent: 23 January 2002 16:59
To: PHP developers
Subject: Re: [PHP] more easy questions but getting there.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then Matthew Darcy blurted....
> When I run my main php script it creates the form without a problem, but
> just before the form the lines
>
> mysql_connect("localhost", "$user", "$passwd") or die
> ("Error could not
> connect to MySql Server - connnection not possible");
> mysql_select_db("$database") or die ("Could not start session with
database
> ");
and the error you're getting is..........
- --
Nick Wilson
Tel: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8TuvgHpvrrTa6L5oRAjL4AJkB+YYeWhsPHw2A30FtdGLM+obzZgCeJ2NB
uJ1JjwhFsfXQWRsutYor6Nk=
=l+ii
-----END PGP SIGNATURE-----
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net