menelaus8888 Posted January 6, 2009 Share Posted January 6, 2009 ive got a textbox like this : <input type=text name=a".$counterx.$counter." size=2> how do i get the value from this text box using POST when its name got some concatenations. help!! $_POST['a.$counterx.$counter'] <-- i tried this but it got syntanx errors thnx.. Quote Link to comment https://forums.phpfreaks.com/topic/139632-getting-values-from-concatenated-name/ Share on other sites More sharing options...
castis Posted January 6, 2009 Share Posted January 6, 2009 use $_POST['a'.$counterx.$counter] you only want to quote the literal string, not the variables Quote Link to comment https://forums.phpfreaks.com/topic/139632-getting-values-from-concatenated-name/#findComment-730567 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.