PHP error and JavaScript validation
<p>I have an error in my PHP on this line:</p>

<pre><code>var strRooms = &lt;?=$js_var?&gt;;
</code></pre>

<p>It is saying that this has an invalid markup, what does this mean?</p>

<p>You can look at the application here: <a href="http://jsfiddle.net/YYMJS/" rel="nofollow">application</a></p>

<p>Now if you type in nothing in the textbox, then it doesn't display a message saying "Please Enter in a Room Number", if you type in a invalid room number then it doesn't show a message stating "This Room is Invalid". Why is it not working?</p>

<p>I know the code doesn't work in jsfiddle but I have included my code in the jsfiddle so that you can see the whole code and the way it is laid out.  <a href="http://jsfiddle.net/YYMJS/" rel="nofollow">jsfiddle</a></p>

<p>So how can this error be fixed and how can the JavaScript validation message appear as they should do?</p>
