Jump to content

[SOLVED] Finding part of an array value


Porl123

Recommended Posts

You know in mysql you can find a record by a part of it like field='%$data%'

is there a way of doing this with php? I'm trying to use is_array to find if the $data value is 14, but it's not just 14 in the array. It'd be like 14h with a letter after it. I know there's ways around this but i just thought i'd save time and ask to see if there's any easier ways

 

anyway any help would be appreciated. thanks!

Link to comment
https://forums.phpfreaks.com/topic/147029-solved-finding-part-of-an-array-value/
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.