When I apply str_replace to one recordset row, it works fine. When I apply it to the next row in my results page, the page comes up blank. Hope someone can help.
<?php echo str_replace(",","<br>", $row_Recordset2['Pos_Verbal']) ?>
You need to show a bit more code to see how $row_Recordset2 is populated. If it comes out blank then most likely it was blank before the str_replace() was applied to it.
try by assigning the value of $row_Recordset2['Pos_Verbal'] to some other variable and then echo it
Thanks for your help, much appreciated.
This topic is now closed. New replies are no longer allowed.