Welcome Guest, Not a member yet? Register   Sign In
Post Value Not Matching
#3

(This post was last modified: 02-20-2020, 06:04 PM by GregS.)

(02-20-2020, 04:50 PM)InsiteFX Wrote: Is the EventID in the record numeric or varchar? Sounds like a character miss-match to me.

Make sure that the recoed EventID and the $eventid are both the same type numeric or string.


Hi!
Thanks for trying to help. I thought the same initially as well They are both strings. But even if I try:

Quote:if ($record['EventID'] == 4683)

 or
Code:
if ($record['EventID'] == "4683")
The result is the same. I truly cannot understand why this does not work.

Here is the a sample of the record:

Code:
"Date": "23-02-2020 00:00:00",
        "EventID": "4683",
        "EventSplashTime": "0",

That is why I say the record does exist.
Reply


Messages In This Thread
Post Value Not Matching - by GregS - 02-20-2020, 02:31 PM
RE: Post Value Not Matching - by InsiteFX - 02-20-2020, 04:50 PM
RE: Post Value Not Matching - by GregS - 02-20-2020, 05:57 PM
RE: Post Value Not Matching - by dave friend - 02-21-2020, 02:32 PM
RE: Post Value Not Matching - by GregS - 02-22-2020, 12:30 AM
RE: Post Value Not Matching - by dave friend - 02-22-2020, 01:14 AM
RE: Post Value Not Matching - by InsiteFX - 02-22-2020, 06:07 AM
RE: Post Value Not Matching - by GregS - 02-27-2020, 01:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB