Jump to content

1 line Bug .


alij

Recommended Posts

 

When you say:

 

PS: Everything works fine on firefox.

 

are you implying that the second line works in all browsers even though that has nothing to do with it because PHP is server side.

 

Yes ! Absolutely.

 

And, I should use = not ==, the "bug" was due to something stupid actually  ::)

Thanks anyway ! Problem solved.

Link to comment
https://forums.phpfreaks.com/topic/141608-1-line-bug/#findComment-741363
Share on other sites

What was the bug?

 

 

When you say:

 

PS: Everything works fine on firefox.

 

are you implying that the second line works in all browsers even though that has nothing to do with it because PHP is server side.

 

Yes ! Absolutely.

 

And, I should use = not ==, the "bug" was due to something stupid actually  ::)

Thanks anyway ! Problem solved.

Link to comment
https://forums.phpfreaks.com/topic/141608-1-line-bug/#findComment-741383
Share on other sites

What was the bug?

 

 

When you say:

 

PS: Everything works fine on firefox.

 

are you implying that the second line works in all browsers even though that has nothing to do with it because PHP is server side.

 

Yes ! Absolutely.

 

And, I should use = not ==, the "bug" was due to something stupid actually  ::)

Thanks anyway ! Problem solved.

 

I don't think there was a bug, only mistakes, and at least 1 stupid one.

Link to comment
https://forums.phpfreaks.com/topic/141608-1-line-bug/#findComment-741386
Share on other sites

Well he said he wanted to use a single = and not == so I wonder what his resolution was.

 

I don't think there was a bug, only mistakes, and at least 1 stupid one.

 

Yes, I misread what he wrote.  I guess I assumed that he didn't mean that because there is no point to put an assignment operator in an IF statement because it will always be true...

Link to comment
https://forums.phpfreaks.com/topic/141608-1-line-bug/#findComment-741521
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.