php form scripting issue

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 form scripting issue

Post 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
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: php form scripting issue

Post by greyhoundcode »

8O
Post Reply