I would like to rename my URL like this :
http://localhost/loli/member/private?id=474
= http://localhost/loli/member/private/474
however I'm a new coder and I don't understand why that does work while I saw some tutorial doing this on the same way.
here is my .htaccess
code :
Options All -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.] )$ $1.php [L]
RewriteRule ^private/([0-9] )$ $private?id=$1 [L]
PHP code using get on URL :
(current page message.php
sended it into private.php
)
<?php
// $allUsers = 'SELECT * FROM members WHERE name LIKE "