By using .htaccess
I have been able to turn the URL:
http://www.websitename.co.uk/directory/users.php?id=idValue&data2=data2Value
Into
http://www.websitename.co.uk/directory/users?id=idValue&data2=data2Value
HTAccess:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
However, I would much rather like to see it turned into this:
http://www.websitename.co.uk/directory/users/idValue?data2=data2Value
I hope that makes sense, for now just echoing the idValue is all I would need help with on the PHP side as I am unsure how?