String compare: equal
<?php $hobby = "Music"; if ($hobby = "Music"){ echo "You have an interesting hobby"; } ?>
1. | String compare demo: = | ||
2. | strcasecmp: Binary safe case-insensitive string comparison | ||
3. | String compare with if statement | ||
4. | Compare string |