how can I do that, I need it in a easy way.
Enter your PHP question at the top of this page and click Get An Answer.
Tell us how quickly you want your PHP question answered.
Connect with your programmer via online chat or telephone call.
how can I do that, I need it in a easy way.
Use in_array — Checks if a value exists in an array
in_array ( $needle , $haystack )
Searches haystack for needle and it return true or false
ref:http://php.net/manual/en/function.in-array.php
very easy and nice, thanks.
Byron Narciso
Programmer
Whether you have a quick question while preparing your taxes, troubleshooting a computer problem, or need to hire an attorney, ExpertHelp is the most convenient and affordable way to connect with the right service professional to get the job done.
ExpertHelp has been in business since 2011, is an A+ Rated Better Business Bureau accredited member, and offers a 100% satisfaction guarantee on every question you ask!