[PHP] Re: question about M. Lemos's HTML forms generation and validation

2004-03-29 Thread Gimic
I just looked over the code I recently submitted.. the last if statement needs a semi-colon at the end of the echo("The name don't exist") part... sory if you copy/pasted and got an error.. ;) "Gimic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It's a simple algorythem, use a loop

[PHP] Re: question about M. Lemos's HTML forms generation and validation

2004-03-29 Thread Gimic
It's a simple algorythem, use a loop to enter the names from the database into an array, and compare each to the value in the array. or some hybred thereof. regardless of what performance freaks say.. this won't make a big dif in performance unless you are like yahoo with several hundred millio

[PHP] Re: question about M. Lemos's HTML forms generation and validation

2004-03-26 Thread dr. zoidberg
Manuel Lemos wrote: Hello, On 03/25/2004 10:19 PM, Dr. Zoidberg wrote: I'm creating registration service with this great form script for creating forms within Smarty. Question is how can I validate 'username' against allready registered users in MySQL so that someone cannot register him self i

[PHP] Re: question about M. Lemos's HTML forms generation and validation

2004-03-25 Thread Manuel Lemos
Hello, On 03/25/2004 10:19 PM, Dr. Zoidberg wrote: I'm creating registration service with this great form script for creating forms within Smarty. Question is how can I validate 'username' against allready registered users in MySQL so that someone cannot register him self if there is another u