PHP catching undefined variable error
<p>How do I go about catching an undefined variable error in PHP? I have a variable called $place that will only have a value if the user enters some details on another page, however if it has no value then it has an undefined variable error on the screen which I don't want.
I tried:</p>

<pre><code>&lt;?php try{ echo $place; }catch(Exception $e){echo 'No Place Set';}?&gt;
</code></pre>

<p>but that doesn't work.
Any suggestions?</p>