Is it possible to POST values to next page with a Drupal URL? I have the following link that works if I link to an external page outside Drupal. However, when I place the same code in a Drupal page that is on orangeEDIT, and change this URL to point to the Drupal location, it says the page cannot be found.

&lt;a href="http://host/drupal1/?q=node/17?orange_id=&lt;?= $row['orange_id']; ?&gt;"&gt;Edit&lt;/a&gt;


I should probably use the Form API for this, as it is a link that allows a form to be edited, but it seems a way too complicated, compared to the PHP solution.
To prepare links in Drupal, use the l() function:

$options = array('query' =&gt; array('orange_id' =&gt; $row['orange_id']));
$link = l('Edit', 'node/17', $options);


You can also add 'absolute' =&gt; TRUE to your options array to get the full URL; full options are on the docs page.

Using l() you can ensure that your URL is valid at all times.