This one time, at band camp, John Meyer <[EMAIL PROTECTED]> wrote:
> I have the following script:
>
> try {
> $conn = mysql_connect("localhost","webuser","testme") or die("Could not
> connect");
-- snipped for sake of sanity --
I think if you wish to push down this path you may wish to l
On Sun, May 14, 2006 2:10 pm, John Meyer wrote:
> try {
> $conn = mysql_connect("localhost","webuser","testme") or die("Could
> not
> connect");
Seems to me you ought to use throw() here...
> mysql_select_db("bookcollection",$conn) or die("Could not select
> database");
Ditto.
>
do you know what a php exception is and when/where/what generates them?
(if your coming from another language that supports exceptions you may need
to adjust your knowledge - php's exceptions are a little different -
for instance they are not ever generated by the engine itself)
does mysql_query(
3 matches
Mail list logo