Hi all I am a beginner with mark up and am trying my hand at HTML, Javascript and PHP. Currently I am copying source code from sites so I can learn and understand the code and rebuild the sites with my own content.
Just recently I came across a site and within the mark up of the page 'works.php' it gives me this href
<li><a href="javascript:getWork(1)">Works 1</a></li>
which tells the page to go get the URL
http://www.leandroerlich.com/works.php?id=2
what I'm finding hard to grasp is the extension onto the usual .php convention
works.php?id=2
what is "?id=2" ??
I understand that this maybe also a javascript question so I apologise if I am writing this thread in the wrong place.
If anyone can help me I would be very greatful
blunt