I've sprinkled some php into an html form that I store in a MySQL table. I pull the table date into a php page using print($form);
For forms that only have html in them, this works fine (the correct information is printed to screen).
However, for the form that has php sprinkled in, I get the php printed to screen if it were text.
I've tried eval($form);
but that returns 'Parse error: parse error in Eval code on line 1' for both the php-sprinkled AND the html forms.
Any suggestions on storing php code in a table? and how I would go about printing (and running) the code?