title: Why is PHP displaying parsing error on sql query
body: <pre><code>$rows = ( "SELECT * FROM `client` WHERE `clientid` = '".$_SESSION['clientid']."' LIMIT 1" );
  $result1 = ( "SELECT `serverid`, `ipid`, `name`, `game`, `status`, `online`, `slots`, `type`, `port` FROM `server` WHERE `clientid` = '".$_SESSION['clientid']."' ORDER BY `serverid`" );
  $servers = array( );
  while ( $rows1 = ( $result1 ) )
  {
      if ( !empty( $rows1['ipid'] ) )
      {
          $rows2 = ( "SELECT `ip` FROM `ip` WHERE `ipid` = '".$rows1['ipid']."' LIMIT 1" );
          $rows1 = ( $rows1, $rows2 );
      }
      ( $servers, $rows1 );
  }
  </code></pre>
  
  <p>so, i'm getting this error:</p>
  
  <pre><code>Parse error: syntax error, unexpected ',' in /path/to/index.php on line 10
  </code></pre>
  
  <p>live 10 is this one:</p>
  
  <pre><code>$rows1 = ( $rows1, $rows2 );
  </code></pre>
  
  <p>my friend gave me this php application so i'm not really familiar with the problem.</p>