<form action="{$this->self}?a=register" method="post">
{$this->table}
<div class="title">{$this->lang->register_reging}</div>
///////////////////<————I want the php to go here so I can call the name and a few other queries into the register page.
<h1>Congratulations!</h1>
<p class="line"></p>
<span class="field">{$this->lang->register_new_user}</span>
<span class="form"><input type="text" name="desuser" size="40" /></span>
<p class="line"></p>
<span class="field">{$this->lang->register_email}</span>
<span class="form"><input type="text" name="email" size="40" /></span>
<p class="line"></p>
<span class="field">{$this->lang->register_passwd}</span>
<span class="form"><input type="password" name="passA" size="40" /></span>
<p class="line"></p>
<span class="field">{$this->lang->register_confirm_passwd}</span>
<span class="form"><input type="password" name="passB" size="40" /></span>
<p class="line"></p>
$math
<IF (!$tos_text)>
<input type="hidden" name="terms" value="1" />
<ELSE>
<span class="field">{$this->lang->register_tos_read}</span>
<span class="form">{$tos_text}</span>
<p class="line"></p>
<span class="field">{$this->lang->register_tos_i_agree}</span>
<span class="form"><input type="checkbox" name="terms" /></span>
<p class="line"></p>
</IF>
<input type="hidden" name="token" value="$token" />
<input type="submit" name="submit" value="{$this->lang->register_reg}" />
{$this->etable}
</form>
I've tried both:
And I keep getting the error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hermes/bosweb25b/b857/ipw.tphegley/public_html/qsf/func/register.php(100) : eval()'d code on line 17
I'm not exactly sure 'how' to properly insert php code to get what I want especially with having all the modular tables for the qsfp forum software.
Thanks for any help.
Tyler