I have a project that I am working on that is giving me some issues when I try to add a simple PHP Form to a Smarty Template page. The templates were generated using PHPRunner but the page has been pretty heavily tweaked by the client to achieve the look they want, here's a link to an example page with the form on it

You will see what's happening when you pull up the page, also when you hit submit it goes to a page cannot be found page. I am going to attach my source code from the smarty template page so hopefully someone can help point me in the right direction,

(see my code in next post)

Here's what's kind of odd about the whole thing, I can take this form out from within this template and run it on my server and it works fine. THat tells me that I probably have something wrong w/ my syntax or something w/ Smarty...

Any help is appreciated!

    have you wrapped your code in {literal}{/literal} tags in the smarty template?

      Hey, thanks for your response. To answer your question, yes I have the form code presently within the {literal} {/literal} tags. I have also tried to swap out the php tags once and use the {php} tag but it still didn't work for me. I am posting my souce code in a text file if you or anyone else would be willing to take a look I would appreciate it, the form starts on around like line 40 or so I think.

      thanks.

        Write a Reply...