Php Syntax error and no valid output
<p>im receiving a PHP syntax error on the below, can anybody see where im going wrong? im trying to write a query thats dependant on post variables </p>

<pre><code>&lt;?

$args = array('orderby' =&gt; 'meta_value_num', 'meta_key' =&gt; 'order', 'order' =&gt;'ASC','meta_query' =&gt; array());

if(isset($_POST['vehicleType']){
  $args['meta_query'][]=array(
            'key' =&gt; 'vehicleType',
            'value' =&gt; $_POST['vehicleType'],
            'compare' =&gt; '=');
 }

 if(isset($_POST['another']){
  $args['meta_query'][]=array(
            'key' =&gt; 'vehicleType',
            'value' =&gt; $_POST['vehicleType'],
            'compare' =&gt; '=');
 }

 if(isset($_POST['another']){
  $args['meta_query'][]=array(
            'key' =&gt; 'vehicleType',
            'value' =&gt; $_POST['vehicleType'],
            'compare' =&gt; '=');
 }

 if(isset($_POST['another']){
  $args['meta_query'][]=array(
            'key' =&gt; 'vehicleType',
            'value' =&gt; $_POST['vehicleType'],
            'compare' =&gt; '=');
 }


?&gt;
</code></pre>
