Php, infinite loop in while() loop?

$x=9 is an assignment, and is always true. Perhaps you meant $x==9 or some other relational operator.

$x=9 is an assignment, and is always true. Perhaps you meant $x==9, or some other relational operator.

This, and also it's a good advice what JRL said – derp Sep 18 at 21:04.

You mean $x == 9 But in your example it won't do anything, because $x! = 9. You probably mean while($x.

You are assigning the value of 9 to the variable x instead of performing a relational comparison. A common mistake. = is the assignment operator whereas == is the equality comparison operator.

en.wikipedia.org/wiki/Assignment_(comput...)#Assignment_versus_equality.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions