Thanks for the reply, Mario. Though I don't understand the relevance of
your remark.
Mario B. wrote:
> 05.08.2005 18:26:27 Will Woodhull je napisao/la:
>
> > I want to do something like this:
> >
> > while(false == ($result = mysql_query($query)) ) {
> > switch(mysql_errno()) {
<snip>
>
> this is why "try, case, exception" is needed, but i don't miss it one bit
> in php
I know I could use PHP's try...catch construction but it seems like
overkill in the simple code I'm developing. And I think I would still
need to identify the error codes, so a reference list would still be
useful?
Maybe I'm missing something?