dotkpay Posted October 17, 2011 Share Posted October 17, 2011 Hello, A named field in an html form e.g. <input type="text" name="time"> is accessed as $_GET['time'] or $_POST['time'] by the processing script. What about an unnamed field like the one below: <input type="text" value="" id="1" /> How do I harvest this field's input as a variable from my php processing script? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/249265-access-to-unnamed-form-fields/ Share on other sites More sharing options...
ManiacDan Posted October 17, 2011 Share Posted October 17, 2011 Usually you can't. The "name" attribute is required for an input box inside a form. print_r($_POST); and see if it comes up. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/249265-access-to-unnamed-form-fields/#findComment-1279978 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.