Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.