<?php $row['specifications'] = 't;e;s;t'; ?> <ul> <li><?php echo str_replace(';','</li><li>',$row['specifications']); ?></li> </ul>