title: PHP: the id number is cut out, and remain only the first number
body: <p>I am making a little CMS. I am currently working on editing the pages. It works properly, but only if the 'id' of the page is less the 10 (has only 1 number)</p>
  
  <p>This is the link the send to the edit_page with the form prepopulated with the proper content:</p>
  
  <pre><code>&lt;a href="edit_page.php?nav_id_trough_link=&lt;?php echo urlencode($selected_nav['id']); ?&gt;"&gt;Edit this page&lt;/a&gt; &lt;/p&gt;
  </code></pre>
  
  <p>(sorry for the clumsy name of nav_id_trough_link, is just that i am learning)</p>
  
  <p>When i just visit the page, in the address bar there is this:</p>
  
  <pre><code>http://localhost:8080/test1again/backend.php?navv=39
  </code></pre>
  
  <p>but when i click on the edit link, bringing me to edit_page.php, in the address bar appear this:</p>
  
  <pre><code>http://localhost:8080/test1again/edit_page.php?nav_id_trough_link=3
  </code></pre>
  
  <p>Somehow it cut out the 9
  The same happen if the id of the page is 40, then will become 4 (and prepopulating the form with the content of the page that has the id 4..)</p>
  
  <p>Someone please know why this can happen? </p>