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.. 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 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
Archived
This topic is now archived and is closed to further replies.