NYCPHP Meetup

NYPHP.org

[nycphp-talk] Error Trapping Code problem

John Campbell jcampbell1 at gmail.com
Wed Jun 4 19:20:24 EDT 2008


On Wed, Jun 4, 2008 at 6:32 PM, Kristina Anderson
<ka at kacomputerconsulting.com> wrote:
> Hi everyone, this is probably something really dumb that I am missing,
> but I need help.  This code upon submit calls this error trapping
> function (to test for duplicate usernames).  There is a hidden field
> named "step" that has a value of "1".
> It is working on another page but I am trying to use this code and
> apparently leaving something out?
>

Not sure if this is the issue, but you have a semi-colon instead of a colon:
>        case 0; // do nothing, drop through and get user data

-John C.



More information about the talk mailing list