Page 1 of 1

php form scripting issue

Posted: Wed Feb 18, 2009 12:08 pm
by paranoic
i am having problems with displaying registration forms text in other sie sections.
actualy. i needed some extra forms on register.html and i made them but eventhough i also made place in admin sectin where to display them, those info doesnt show up after users registration,
here is an example:

<tr>
<td class="form">{$lng.users.contact_name}</td>
<td width=3 class="red">{if $settings.use_name==2}*{/if}</td>
<td><input name="contact_name" type="text" size="25" maxlength="255" value="{$tmp.contact_name}"
class="inputs" onfocus="this.className='inputs-focus';" onblur="this.className='inputs';"></td>
</tr>

<tr>
<td class="form">{$lng.users.funkcija}</td>
<td width=3 class="red">{if $settings.use_funkcija==2}*{/if}</td>
<td><input name="funkcija" type="text" size="25" maxlength="255" value="{$tmp.funkcija}"
class="inputs" onfocus="this.className='inputs-focus';" onblur="this.className='inputs';"></td>
</tr>

first row is original and second one is that i copied and put my form description. i am almost sure that it might be problem in "{$tmp.contact_name}" part but dont know how to fix it and also dont know what $tmp means and where to find it.

i am new one in php/html scriptin so please help
thx a lot

Re: php form scripting issue

Posted: Wed Feb 18, 2009 1:52 pm
by greyhoundcode
8O