"Stuart J. Browne" <[EMAIL PROTECTED]> wrote:
> Die meaing just that. "Die". Don't process
> anything further.
Got it: for some reason I thought it would not process
any further PHP but then continue with processing the
HTML. I see that it kills the HTML too (at least it
does for me).
Your sug
Get the "die" statement off, and check if your query succeeds, if no, let
the
rest of script go ahead :
$db = @mysql_pconnect ();
if( $db){
$query = """;
}
// here goes the rest
HTH
Jayme.
-Mensagem Original-
De: Chris Vargas <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED
""Stuart J. Browne"" <[EMAIL PROTECTED]> wrote in message
98ujpk$i2j$[EMAIL PROTECTED]">news:98ujpk$i2j$[EMAIL PROTECTED]...
> > My first line of PHP code (embedded in HTML) has:
> >
> > $db = mysql_connect("x","y","z") or
> > die("saysomethinghere");
> >
> > If I have a connection problem, it do
> My first line of PHP code (embedded in HTML) has:
>
> $db = mysql_connect("x","y","z") or
> die("saysomethinghere");
>
> If I have a connection problem, it does print the
> "die" message and the connection error, but it also
> stops the page right there: no more HTML is displayed.
Well, you've