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

if Abfrage kombiniert

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
truemaster
Smarty n00b


Joined: 08 Mar 2019
Posts: 2

PostPosted: Thu Aug 01, 2019 1:08 pm    Post subject: if Abfrage kombiniert Reply with quote

Hallo zusammen,

ich möchte gerne eine if Abfrage durchführen. Die ID kommt von einer Variable. Der rest ist jedoch ein Text. Jetzt möchte ich POST prüfen. Kann mir hier jemand helfen?

Mein Ansatz war folgender

Code:

<input style="width: 50px;" type="text" name="menge_textilID_{$item.ID}" value="{if isset($smarty.post.'menge_textilID_'.item.ID)}ja{/if}">
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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