NYCPHP Meetup

NYPHP.org

[nycphp-talk] RESOLVED: Error Trapping Code problem

Kristina Anderson ka at kacomputerconsulting.com
Wed Jun 4 21:41:40 EDT 2008


figured out why it wasn't working...this only works when the form is 
posting to itself...lucky thing we had that thread on 'two forms on a 
page' a few weeks ago !!

-- Kristina
------------- Forwarded message follows -------------

I set up a stripped down test page and it's working fine so it must be 
something else on the particular page interfering with it...

------------- Forwarded message follows -------------

Hmmm....it has that in the working code too...any suggestions how I can 
test this thing?

> 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.
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 
> 


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php



_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php



-------------------
Kristina D. H. Anderson
Senior Application Developer/Consultant
"Building a Better Tomorrow, One Line of Code at a Time"
646-247-4987




More information about the talk mailing list