Page 1 of 1

php/html form input does not display in other sections

Posted: Wed Feb 18, 2009 8:41 am
by paranoic
hi,
i am new in php/html programing, but so far i am stuck on one problem
i needed some extra forms on my register.html due to get some extra informations from users.
so i copiedcouple of ofrms and put their values. but my input does not show in admin section as i open useredit.php
here is the case:

<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_name==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>

i opened already these information places in my admin info html.
second row i copied from the first (original) and it shows input of first row but it does not show input from second row when user typed.

please help thx

Re: php/html form input does not display in other sections

Posted: Wed Feb 18, 2009 9:17 am
by mattpointblank
Unless that's some special shorthand code, that's almost certainly not valid PHP so it won't work.

Re: php/html form input does not display in other sections

Posted: Wed Feb 18, 2009 9:22 am
by paranoic
are there any solutions or other variants.

all i have done is made this in register.html and put "funkcija" variable in language editor too recognise it and also opened places in admin panel where those user inputs can be displayed

thx