Lamp Lists wrote:
hi to all!
actually, the statement in the Subject line is not 100% correct. I understand
the purpose and how it works (at least I think I understand :-)) but to me it's
so complicated way?
let's take a look in example from php.net(http://us3.php.net/try)
getMessage(), "\
Try{} catch{} makes more sense when your application is Object Oriented
and you use the MVC model.
Your library performs some actions but when an error occures, it can't
write directly to your browser.
Your modules speak with your library and checks if an error occures.. If
so a decent error mes
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jon Drukman) wrote:
> the idea being that if any of the commands in the block fail, the database
> package automatically does a die("") and the block is terminated.
>
> the nearest i could get with php is:
>
> do {
>mysql_query("UPDATE ..
3 matches
Mail list logo