This following code will get element by name, I\'m gonna change it to get element by ID, how to make it?
if($_SERVER[\"REQUEST_METHOD\"] == \"POST\" &&
You can't do this,i've read somewhere that we can control element by only their name after HTML 4.01.
here, previous post also support it. previous post
But if , you really want to access it through id, then you have to use ajax call for sending data to server. In ajax call, you can access element by their Id.