While I"m sure there is a better way to do whatever your trying to do... that code will not break anything.
You cannot execute queries from the template, you can only access variables that have already been created by the script. The array $post already includes all of the values for that array including $post['field18']. The query that populates that array will be executed whether or not you use the variable $post['field18'] in the template.
|