I-AM-OBODO Posted July 5, 2018 Share Posted July 5, 2018 Hi. Pls I have a form that contains countries. Let say i want to do something else if a country in among the countries in my list and something else if not included. how can i archive this simply without doing multiple ifs. eg direct listed countries to page A else direct to page B Thanks Link to comment Share on other sites More sharing options...
benanamen Posted July 5, 2018 Share Posted July 5, 2018 Without more detail, in_array should work for you. Link to comment Share on other sites More sharing options...
I-AM-OBODO Posted July 11, 2018 Author Share Posted July 11, 2018 On 7/5/2018 at 10:29 PM, benanamen said: Without more detail, in_array should work for you. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.