unemployment Posted April 22, 2011 Share Posted April 22, 2011 Have I made this function correctly? $info = fetch_user_info_by_id(); is an array. Can I just pull check the values with if (($info['totalrequested'] === 0) && ($info['accounttype'] === 1)) or do I need to do something else? function capital_requested_reminder() { $info = fetch_user_info_by_id(); if (($info['totalrequested'] === 0) && ($info['accounttype'] === 1)) { return true; } } Quote Link to comment https://forums.phpfreaks.com/topic/234481-wrong-use-of-function/ Share on other sites More sharing options...
KevinM1 Posted April 22, 2011 Share Posted April 22, 2011 Have you, you know, tried it? Quote Link to comment https://forums.phpfreaks.com/topic/234481-wrong-use-of-function/#findComment-1205096 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.