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 #174881 is a reply to message #174879] Fri, 15 July 2011 16:49 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
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.
[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: Wed Nov 27 03:22:15 GMT 2024

Total time taken to generate the page: 0.05728 seconds