Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  

Código não funciona no site

Recommended Posts


tenho este código que acho que está certo mas não esta funcionado no site. Olhem o codigo e a a foto do banco de dados, mais a foto do erro que dá no site !

<select name="month" id="month">
<option value="0">{$option_month}</option>
{foreach from=$months item=i}
{if $i==$month}
	<option value="{$i}" selected="selected">{$i}</option>
	<option value="{$i}">{$i}</option>

<select name="year" id="year">
<option value="0">{$option_year}</option>
{foreach from=$years item=i}
{if $i==$year}
	<option value="{$i}" selected="selected">{$i}</option>
	<option value="{$i}">{$i}</option>
<br />
<label for="bio">{$label_about_me}<br/><span class="comment">{$limit_200chr}</span></label><textarea class="wpisz_cos" name="bio" id="bio" rows="3" cols="30">{$logged_user->bio}</textarea><br />
<label for="www">{$label_more_info}</label><input type="text" name="www" id="www" class="wpisz_cos" value="{$logged_user->www}" /><br />
<label> </label><span class="comment">{$label_url}</span><br />
<label for="interests">{$label_interests}<br /><span class="comment">{$comma_separated_200chr}</span></label><textarea class="wpisz_cos" name="interests" id="interests" rows="3" cols="30">{$logged_user->interests}</textarea><br />
<label> </label><input type="submit" class="submit" name="save_life" value="{$label_save_changes}" />
{if $ok}<p class="ok">{$ok}</p>{/if}
{if $error}<p class="error">{$error}</p>{/if}



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.