Dearest Monks,
How does one make it so that when variables in a MySQL cell are read into an html document they are interpreted instead of taken literally.
For instance,assume that $type_of_animal = giraffe. If the MySQL cell that contained the text 'I wish I were a $type_of_animal' were selected and posted as html it would print 'I wish I were a $type_of_animal', even though $type_of_animal had been defined earlier in the perl script.
How do I get the script to interpret the variable read from the database so that it will print out 'I wish I were a giraffe'?
thanks,
Chris Herold
In reply to Interpreting variables pulled from MySQL by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |