On Monday 12 February 2001 10:41, PHPBeginner.com wrote:
> I'm having a rather strange problem. I'm trying to compare two
> values. "01" and "1". The variables names that they are submitted
> under are pick1 and pick2. i use the following code
[...]
> I still get the error. Anyone have any ideas? These two valuse mustbe
> evaluated as different.
if (strcmp ($pick1, $pick2) == 0)
echo "equal";
else
echo "different";
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.
- George Gordon Noel Byron (1788-1824), [Lord Byron]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]