Hi,
I wonder why your want to store PHP scripts in your DB but... Just use the PHP eval function to evaluate it:
INSERT INTO Table (PHPScript) VALUES ("<?php echo ('Hello world!'); ?>")
Then to get the PHPScript value and evaluate it:
eval ($row ["PHPScript"]);
It should display "Hello world!".
And voilà 🙂...
But It still wonder if your question makes sense :p
JM