Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

retrieve the results of a checkbox

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
IDLajmi
Smarty n00b


Joined: 10 Oct 2011
Posts: 3

PostPosted: Tue Oct 11, 2011 8:18 am    Post subject: retrieve the results of a checkbox Reply with quote

Hello Everyone,

I découvrert Smarty very recently, I begin to use it but I'm stuck on the handling of check boxes in my php code:

I have to define a check box on a template file (. dwt) as follows:

<input type="checkbox" name="selection" value="ProdS" />

the checkbox is displayed correctly
but I can not recover the results of this check box
the field value is empty:
echo $ _POST ['Selection'] returns no results

if there is someone who can guide me, I am very grateful
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development 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