I am working on building a small php/mysql script that will act something like a wordpress blog but will just be a small site for my eyes only to store PHP code snippets. S
Try this:
mysql select ... eval('?>' . $row['phpcode'] . '