Data Bridge 2 - Fatal error: Can't use method return value in write context
Hi,
I upgraded to Data Bridge 2 and most pages on the site updated fine. I ran into a problem on one page however with this error.
Fatal error: Can't use method return value in write context in /home/hotvws/public_html/content.php on line 230
Recordset---
<?php
$rsFeature = new WA_MySQLi_RS("rsFeature",$hotvws_i,1);
$rsFeature->setQuery("SELECT * FROM contentView WHERE contentID = ?");
$rsFeature->bindParam("i", "".($_GET['contentID']) ."", "-1"); //colname
$rsFeature->execute();
?>
Line 230-----
<?php if (!empty($rsFeature->getColumnVal('photo1'))) { // Show if recordset empty ?>
<li> <a href="images/articles/<?php echo $rsFeature->getColumnVal('contentID'); ?>/<?php echo str_replace('600px','960px',$rsFeature->getColumnVal('photo1')); ?>" rel="shadowbox" title="<?php echo $rsFeature->getColumnVal('headline'); ?>"><img class="main" src="images/articles/<?php echo $rsFeature->getColumnVal('contentID'); ?>/<?php echo $rsFeature->getColumnVal('photo1'); ?>" /></a> </li>
<?php } // Show if recordset not empty ?>
I'm sure this is pretty simple... but over my head at the moment.
Thanks,