Jump to content

Greater than, less than in in_array


gordon142

Recommended Posts

I have a number of numerical values in an array. I want to take another value and search the array for the first value in the array that is larger than the other value (the one not in the array). I've tried various methods with in_array but can never get it to do anything except return a parsing error. Help would be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/172150-greater-than-less-than-in-in_array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.