php/html form input does not display in other sections

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
paranoic
Forum Newbie
Posts: 11
Joined: Wed Feb 18, 2009 8:30 am

php/html form input does not display in other sections

Post 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
mattpointblank
Forum Contributor
Posts: 304
Joined: Tue Dec 23, 2008 6:29 am

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

Post by mattpointblank »

Unless that's some special shorthand code, that's almost certainly not valid PHP so it won't work.
paranoic
Forum Newbie
Posts: 11
Joined: Wed Feb 18, 2009 8:30 am

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

Post 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
Post Reply