Re: [PHP4BETA] Latest CVS - Question
| From: | Sarah Pearson | Date: | Tue, 21 Sep 1999 16:01:10 +0000 |
| Subject: | Re: [PHP4BETA] Latest CVS - Question | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4752@lists.php.net to get a copy of this message | ||
Joey [joey@samaritan.com] wrote:
> sarah,
>
> Are you running CGI or embedded? What OS and web server?
I'm running as an apache module (apache 1.3.9) on an intel RedHat 6.0.50 beta
with MySQL 3.22.26a.
> What usually helps is if you can attach gdb to the process,
> so we can see what is happening in there...
Could you tell me how to do this and I will do it. Do I need to compile
PHP as cgi?
Sarah
> On Tue, 21 Sep 1999, Sarah Pearson wrote:
>
> > I hear what you are saying and it works, just like my code snippet does. However,
> > if you include the link identifer in the mysql_select_db statement it gives the
> > document comtains no data error message. Not very useful when I have 2 or more databases
> > open at once.
> >
> > The following code taken directly from the Core Programming Book (with my echo statement)
> > has
> > the same problem : (I created a temp database called store).
> >
> >
> > <?
> > $mysql_link = mysql_connect("localhost", "root", "");
> > mysql_select_db("store",$mysql_link);
> > echo "Boo!";
> > ?>
> >
> > Even putting :
> > $blah = "store";
> > mysql_select_db($blah, $mysql_link);
> >
> > gives the error.
> >
> > Having the link identifer in the select_db statement worked fine until a CVS download
> > yesterday. If the format of the command has changed then fine, but to me it looks
> > like a possible problem.
> >
> > --
> > Sarah Pearson
> > sarah@zippysoft.com
> >
> > --
> > PHP 4 Beta
> >
> >
>
>
> --
> PHP 4 Beta
--
Sarah Pearson
sarah@zippysoft.com