[TYPO3] Realurl and querystring

Vandemaele David david.vandemaele at telenet.be
Thu Jun 1 16:27:59 CEST 2006


Hello,

I have some PHP code that generates a link to let the user sort a table:

<?php
$url = t3lib_div::getIndpEnv('TYPO3_REQUEST_URL');
echo $url . "?order=country";
?>

When the user clicks the link, the link gets the following value:

http://somedomain.com/members/list/?order=company?order=company

Every time the link is clicked, "?order=country" is appended.

How can I avoid this?

David



More information about the TYPO3-english mailing list