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; } } 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? Link to comment https://forums.phpfreaks.com/topic/234481-wrong-use-of-function/#findComment-1205096 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.