Hi Folks,
I'm wondering what the best way to create a form would be? It just needs to be a simple form to insert into a database, I'm just wondering if there's a special MyBB way, or if you guys have any tips.
On another note, one of my fields has to be able to handle html input (paypal button form), and if you have any advice for sorting that, I'd love to hear it.
Thanks,
Flinty
Update;
So I presumed that I could work with a regular form, however I'm having a template issue. I'm using the following piece of code to display a form:
Test is echoed, so I know the condition is working, however the template evaluation does not. If this condition isn't met, another template is rendered out instead of this.
I'm wondering what the best way to create a form would be? It just needs to be a simple form to insert into a database, I'm just wondering if there's a special MyBB way, or if you guys have any tips.
On another note, one of my fields has to be able to handle html input (paypal button form), and if you have any advice for sorting that, I'd love to hear it.
Thanks,
Flinty
Update;
So I presumed that I could work with a regular form, however I'm having a template issue. I'm using the following piece of code to display a form:
elseif(isset($_GET['add']) && isModeration($modArray)) {
echo 'test';
eval("\$products .= \"".$templates->get("paypalShopTemplateClosed")."\";"); //Evaluate template
}
Test is echoed, so I know the condition is working, however the template evaluation does not. If this condition isn't met, another template is rendered out instead of this.