Re: [PHP] compare variables from text fields...

2002-07-07 Thread Miguel Cruz
On Sun, 7 Jul 2002, Jas wrote: > What is the best function or operator to compare two text strings being > inputted by a text field within a form? Any help is appreciated. == is always handy. Depending on your needs, you may want to throw in a couple calls to strlower (if you don't care about c

Re: [PHP] compare variables from text fields...

2002-07-07 Thread Justin French
In what way do you want to compare them? to see if they are the same string? the same type of var? different? greater than? less than? My guess is that you want them to be the same (as in the case of two passwords), in which case it's simple: Of course if you looked in the manual for compa