I may not have completely understood what you are attempting to do.
You've obviously got a PHP/web server.
It looks like you are trying to get information from the user so that a command can be issued to the PHP server
GET /action_page.php?ertek=32 HTTP/1.1 (32 is an example number)
You appear to be attempting to run an arduino web server to display a page (html form) which collects the information from the user for 2) above. The user enters the URL for this page in a browser and is presented with your page
Is that approximately right ?
If so, in principle it is not difficult. It is just unusual (but of course perfectly OK) for an application to involve 2 web servers.
To help find an appropriate example, state what Arduino / network connection (WLAN/Ethernet) you are using.
Do you want to relay the results from the PHP page back to the user once it has executed ?