[PHP] Why neither strpos nor preg_match find text with word NBK_DC_01?
by cesarsj from LinuxQuestions.org on (#4X4J6)
When I leave "NTP update" as shown below, the code works and returns me emails with this term.
if (strpos($inboxMessage['messageSubject'],"NTP update"))
But when I leave "NBK_DC_01", with the certainty that the email has this term, neither strpos nor preg_match give me results. Was it because of the ''_''?


if (strpos($inboxMessage['messageSubject'],"NTP update"))
But when I leave "NBK_DC_01", with the certainty that the email has this term, neither strpos nor preg_match give me results. Was it because of the ''_''?