Php errors line is red
<p>I have this code and give error, what is wrong in the formatted code?</p>

<pre><code> $row = intval( $cat_id )( "select cat_path,cat_name from sdb_goods_cat where cat_id=".intval( $cat_id ) );

  $row = intval( $cat_id )( "select cat_path from sdb_goods_cat where cat_id=".intval( $cat_id ) );

 $rs = intval( $catid )( "select tabs,cat_id from sdb_goods_cat where cat_id=".intval( $catid ) );

 $row = intval( $catid )( "select tabs,cat_id from sdb_goods_cat where cat_id=".intval( $catid ) );

  intval( $v )( "update sdb_goods_cat set p_order=".intval( $v )." where cat_id=".intval( $k ) );

  $row = intval( $id )( "SELECT count(*) AS num FROM sdb_goods_cat WHERE parent_id=".intval( $id ) );

 $rs = intval( $id )( "SELECT * FROM sdb_goods_cat WHERE cat_id=".intval( $id ) );

  $row = intval( $parent_id )( "SELECT parent_id, cat_path, p_order FROM sdb_goods_cat WHERE cat_id=".intval( $parent_id ) );

 $sDefine = intval( $data['cat_id'] )( "SELECT parent_id FROM sdb_goods_cat WHERE cat_id=".intval( $data['cat_id'] ) );

   $aCats = intval( $catid )( "SELECT * FROM sdb_goods_cat WHERE parent_id = ".intval( $catid ) );

  $row = intval( $catid )( "SELECT parent_id FROM sdb_goods_cat WHERE cat_id=".intval( $catid ) );

 intval( $catid )( "DELETE FROM sdb_goods_cat WHERE cat_id=".intval( $catid ) );
        intval( $catid )( "update sdb_goods set cat_id=\"0\" WHERE cat_id=".intval( $catid ) );
</code></pre>

<p>The above lines code give error line in Dreamweaver and I dont know why. Please help me to find what to change?</p>
