Jump to content

PHP Problem in Template Files

Recommended Posts



I had a PHP code snippet in a template file ({php} {/php}) in version 3.5.x but after the upgrade this code snippet doesn't seem to be working. I have worked on it for 8-10 hours and nope, no clue at all.


So instead of showing you my way of doing this and confusing everyone, I'd like to know it from you:


AIM: I would require the PHP code in the template file to output a value set in a custom field created for that product/service (dedicated server).


The template file is clientareaproductdetails.tpl - assume that connection to the database has been done successfully; what next?


Please explain by showing the PHP code you would have in mind rather than explaining it in English (I've become paranoid over this).


Thanks for all those who are willing to help, in advance.



Ganesh Rao

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated