Jump to content

Value Question


Sleeper

Recommended Posts

I have an issue with the below code

 

if ($gtype == "%24L" || $gtype == "$L")

 

The value actually starts with the dollar sign then L, but its being read as a variable that's not assigned so it showing as blank. so the question is how to I get to check and see if the value of gtype actually is $L in a way that it wont read $L as a variable and as a value instead?

Link to comment
https://forums.phpfreaks.com/topic/250420-value-question/
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.