A JM Posted July 8, 2009 Share Posted July 8, 2009 I'm noticing that I can't get the $_POST value from a recordset field on my form unless I use a textbox or something that has a name or id, just a guess? I'm currently just using the field as a label and need the value associated with the label is there a way to get it without assigning the field to textbox and using name or id what am I missing here? Thanks. A JM, Quote Link to comment https://forums.phpfreaks.com/topic/165131-solved-getting-_post-value-from-non-textbox/ Share on other sites More sharing options...
BK87 Posted July 8, 2009 Share Posted July 8, 2009 using the hidden value? <input type=hidden name=myform value="whatever"> Quote Link to comment https://forums.phpfreaks.com/topic/165131-solved-getting-_post-value-from-non-textbox/#findComment-870715 Share on other sites More sharing options...
J.Daniels Posted July 8, 2009 Share Posted July 8, 2009 What is the html of the label? Quote Link to comment https://forums.phpfreaks.com/topic/165131-solved-getting-_post-value-from-non-textbox/#findComment-870716 Share on other sites More sharing options...
A JM Posted July 8, 2009 Author Share Posted July 8, 2009 <td colspan="4" align="left"><strong>Report Number: <?php echo htmlentities($row_rstdetail['num'], ENT_COMPAT, 'utf-8'); ?></strong></td> Quote Link to comment https://forums.phpfreaks.com/topic/165131-solved-getting-_post-value-from-non-textbox/#findComment-870718 Share on other sites More sharing options...
A JM Posted July 8, 2009 Author Share Posted July 8, 2009 I just went ahead and added a hidden textbox. Thanks anyway guys. A JM, Quote Link to comment https://forums.phpfreaks.com/topic/165131-solved-getting-_post-value-from-non-textbox/#findComment-870747 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.