Hi,
This might sound really simple but plz humour me :)
How can I tell if two text variables are equal to one another?
If I use..
if($text1 = $text2)
{
echo "The variables are equal";
}
else
{
echo "The variables are not equal";
}
then the code in the else state is always printed even if I know for a fact that the
variables are equal...
Any suggestions?
James
- [PHP] Variables Cheng, Kynan (London)
- Re: [PHP] Variables Joe Stump
- RE: [PHP] Variables Jon Haworth
- RE: [PHP] Variables Cheng, Kynan (London)
- RE: [PHP] Variables Jonathan Sharp
- Re: [PHP] Variables James Bartlett
- Re: [PHP] Variables Tyler Longren
- Re: [PHP] Variables James Bartlett
- Re: [PHP] Variables Dallas K.
- Re: [PHP] Variables James Bartlett
- RE: [PHP] Variables Matthew Loff
- Re: [PHP] Variables rick
- RE: [PHP] Variables Don Read
- [PHP] Re: Variables Adam
- RE: [PHP] Variables Adrian Ciutureanu
- [PHP] variables webgenie

