How to triger language switcher
<p>Hi i would like to set several languages on my site, a have good looking php script but i have a problem with triger it, my knowlage of php is very poor</p>

<pre><code>language.php

header ("content-type: text/html; charset=utf-8");


if (isset($_GET['lang'])) {

    $langID = $_GET['lang'];


    setcookie('lang', $langID, time()+(3600*24*365));
}

elseif (isset($_COOKIE['lang'])) {

    $langID = $_COOKIE['lang'];
} 

else {
    $langID = 'Pl';
}
</code></pre>

<p>and my index.php</p>

<pre><code>&lt;body&gt;

&lt;div id="languages"&gt;
&lt;a href="index.php?//?????????//"&gt;&lt;img src="images/en.png" /&gt;&lt;/a&gt;
&lt;a href="index.php?//?????????//"&gt;&lt;img src="images/pl.png" /&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;div id="content"&gt;
    &lt;div id="tresc"&gt;
        &lt;?php if($langID == 'Pl'): ?&gt;
        &lt;div class="editable" id="polska"&gt;
        &lt;h1&gt;Head&lt;/h1&gt;
        &lt;p&gt;first land&lt;/p&gt;
        &lt;/div&gt;
        &lt;?php else: ?&gt;
        &lt;div class="editable" id="angielska"&gt;
        &lt;h1&gt;Head&lt;/h1&gt;
        &lt;p&gt;second lang&lt;/p&gt;
        &lt;/div&gt;
        &lt;?php endif; ?&gt;
    &lt;/div&gt;

&lt;/div&gt;

&lt;/body&gt;
</code></pre>

<p>what i should put here to triger script</p>

<pre><code>&lt;div id="languages"&gt;
&lt;a href="index.php?//?????????//"&gt;&lt;img src="images/en.png" /&gt;&lt;/a&gt;
&lt;a href="index.php?//?????????//"&gt;&lt;img src="images/pl.png" /&gt;&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>DO HELP ME PLS</p>
