Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: Select selected problem help!
nikit0

Replies: 1
Views: 2846

PostForum: General   Posted: Thu Jan 26, 2012 11:20 pm   Subject: Select selected problem help!
Hello everybody and thank you for reading,

I have a form called inputformcar, in this form users can insert their details car, like make model color year etc etc and if they want they can modifie t ...
  Topic: Variable doesnt work properly
nikit0

Replies: 3
Views: 3483

PostForum: General   Posted: Thu Jan 26, 2012 4:51 pm   Subject: Variable doesnt work properly
Solved in this way:

{if $listing.Powerr != ''}

<tr><td>
[[Power1]]:</td>
...
  Topic: Variable doesnt work properly
nikit0

Replies: 3
Views: 3483

PostForum: General   Posted: Thu Jan 26, 2012 4:43 pm   Subject: Variable doesnt work properly
i use {if $listing.Powerr == 415} it works correctly

even if i do {$listing.Powerr/2} the output is 0.5 like the value of $listing.Powerr is 1... its so strange i dont know wher ...
  Topic: Variable doesnt work properly
nikit0

Replies: 3
Views: 3483

PostForum: General   Posted: Thu Jan 26, 2012 12:30 am   Subject: Variable doesnt work properly
Hello everybody and thank you all for the support,

I have a strange situation, variable $listing.Powerr is already defined during the input form car form, in this case is 415.

On the view listin ...
  Topic: Variabile non riconosciuta
nikit0

Replies: 2
Views: 8563

PostForum: Language: Italian   Posted: Thu Jan 26, 2012 12:21 am   Subject: Variabile non riconosciuta
Ciao a tutti!

vi scrivo per avere un supporto con smarty,

io ho una variabile $listing.Powerr che ha giÓ un valore immesso dall'utente nel momento in cui effettua l'inserzione e che mando in out ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP