return BOOL Type
<p>I want to make checkindatabase with return type <code>BOOL</code> and return <code>TRUE</code> if Login successful and <code>FALSE</code> otherwise. For a login page , but some how it is coming error to me, can any one help me out and post the exact code for this.</p>

<pre><code>-(IBAction)homePage: (id)sender

{

[self checkindatabase];

} 
</code></pre>
