AdamTorres Posted October 18, 2009 Share Posted October 18, 2009 if (!strcasecmp($animal_name, "Duck") && !strcasecamp ($animal_sound, "quack")) Is there any wrong this is line of sentence ? I getting error for this. Link to comment https://forums.phpfreaks.com/topic/178094-solved-help-me/ Share on other sites More sharing options...
Coreye Posted October 18, 2009 Share Posted October 18, 2009 I getting error for this. What's the error? And strcasecamp isn't a PHP function. It should be: if (!strcasecmp($animal_name, "Duck") && !strcasecmp($animal_sound, "quack")) Link to comment https://forums.phpfreaks.com/topic/178094-solved-help-me/#findComment-939052 Share on other sites More sharing options...
AdamTorres Posted October 18, 2009 Author Share Posted October 18, 2009 Ohhh ..I nv see got a spelling error thx Link to comment https://forums.phpfreaks.com/topic/178094-solved-help-me/#findComment-939054 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.