Ethernet shield

i have been playing around with the examples for the ethernet shield. Everything is working fine. One example on bildr.org site allows you turn a pin on using a web browser.

My question is I have been trying to modify the html in the code. I trying to change it, so it displays a link. When you click on the link it the calls the arduino ip exp(192.168.1.100/?2)

The code i'm using is client.print("click here);
It gives me an error when uploading to arduino - expected ")" before 'www'
not sure what the problem is.

I believe it is an issue of quotes. Try using single quotes surrounding the URL?

You probably need to escape the quotes inside the string using a \ back slash like below.

  client.println("<FORM ACTION=\"http://192.168.1.102:84\" method=get >");

  client.println("Pin 4 \"on\" or \"off\": <INPUT TYPE=TEXT NAME=\"LED\" VALUE=\"\" SIZE=\"25\" MAXLENGTH=\"50\">
");

  client.println("<INPUT TYPE=SUBMIT NAME=\"submit\" VALUE=\"Change Pin 4!\">");

bilbo:
I believe it is an issue of quotes. Try using single quotes surrounding the URL?

Thanks,
That worked. I used single quotes around the url.