Hi,
I have a simple if statement that would render the result just like this:
It happens when I join two tables together. I knew that the query has possible 2 results, which straddled between this->stuff and that->stuff, but how do I stop at only the this->stuff process and not go to the else statement after the first if statement executed.Code:if (this->stuff) { do this stuff; } elseif (that->stuff) { do that stuff; }
I hope I make myself clear with the question above.
Thanks for your help in advance,
Ket



Reply With Quote







Bookmarks