Search found 2 matches

by catatungman
Fri Mar 06, 2009 10:33 pm
Forum: PHP - Code
Topic: help with returning boolean true or false from functions
Replies: 4
Views: 107

Re: help with returning boolean true or false from functions

ah, you are correct, that solved the problem! I understand it a little better now. I had actually thought of that at one point and tried not using quotes... But that was before when I was trying to test on a single IF line (eg. if (brown("hut"))==true echo "true") but it didn't w...
by catatungman
Fri Mar 06, 2009 10:16 pm
Forum: PHP - Code
Topic: help with returning boolean true or false from functions
Replies: 4
Views: 107

help with returning boolean true or false from functions

I'm new to PHP but have a good understanding of programming from other languages. I'm more curious than anything about this "problem"... If anyone can explain to me why it acts the way it does it would cure my curiousity and I might learn something too. Here is some code:   <html xmlns=&qu...