FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » error message I don understand
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: error message I don understand [message #174882 is a reply to message #174881] Fri, 15 July 2011 17:25 Go to previous messageGo to previous message
liebling.kreuzberg@gm is currently offline  liebling.kreuzberg@gm
Messages: 10
Registered: July 2011
Karma:
Junior Member
The Natural Philosopher wrote:

> liebling(dot)kreuzberg(at)gmail(dot)com wrote:
>> Hello group,
>>
>> I'm doing some php programming on my own webserver.
>>
>> I get the error message: PHP Fatal error: Can't use function return
>> value in write context in line 69
>>
>> This is line 69: if (mysqli_num_rows($sDBResultaat) = 1 )
>>
>> Either I don see what I'm doing wrong or I interpret the message wrong.
>> Either way I don't understand, can somebody point me the right way?
>>
>> Thanks in advance, schimanski.
>
> That's a nice way of saying that you are a complete numpty and haven't
> yet learnt to distinguish between assignment:-)
>
> SET a=b
>
> and comparison:
>
> IF a==b
>
> You can thank your lucky stars that your interpreter is merely obscure
> in its error messages - heck if you had posted this to comp.lang.php or
> something, you would have got an impenetrable answer from Stuckle AND
> abuse, too;-)
>
> However, I am pretty sure that I did this a couple of times when I
> started programming, so I am only going to have a chuckle at your
> glorious innocence, that reminds me of long long ago when programming a
> computer was a new and very strange thing.

Since I learned to program in a fair amount of computer languages, the
difference between = and == doesn't get the attention it needed to have.

Nevertheless I am delighted with your typecasting of me as someone
who is just asking. I hope you, as The Natural Philosopher are that much
enlighted that you will forgive me my typo......

Next time when I'm busy to ask something in your language, try to answer
it in mine. That makes you a philosopher.

Thanks, Schimanski.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ouion Movement, Roun Time (Floating Point Time)
Next Topic: [MEMCACHED] Is there a way to get the expiration of a key?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 22:36:43 GMT 2024

Total time taken to generate the page: 0.04732 seconds