Arduino ethernet BOARD example

I am searching for a basic GET example to return some values to my arduino ethernet from a php coded page

The examples provided show how to get a page from a script on a server. You have a server. It is running a script, written with PHP. It seems like it should be quite easy to get that script to run.

Sending the GET request is simple:

    // Make a HTTP request:
    client.println("GET /pub/getValue.php?ID=2 HTTP/1.0");
    client.println();

In the examples i only can find example code for the shield

I think you are not understanding something, then. The code does not run on the shield. It runs on the Arduino.

But that doesnt work

What code doesn't work? What doesn't it do?

and then still i am looking for an example of the php code to send the right values

We have no ideas what values the PHP script should send, so it is impossible to help you there.