htaccess for multiple PHP files
===

I'm being stuck setting up my htaccess properly. Currently I have the following situation:

    1). mydomain.com/my/details.php?pid=top-news-around

    2). mydomain.com/my/toplinks/link.php?id=top-news-around

stated .htaccess works fine with **mydomain.com/details.php?pid=1111**, but does not work for **mydomain.com/toplinks/link.php?id=1111**. please let me know whats wrong with .htaccess.

    RewriteEngine On

    RewriteRule ^([a-zA-Z0-9-/]+)$ my/details.php?pid=$1
    RewriteRule ^([a-zA-Z0-9-/]+)/$ my/details.php?pid=$1

    RewriteRule ^([a-zA-Z0-9-/]+)$ my/toplinks/link.php?id=$1
    RewriteRule ^([a-zA-Z0-9-/]+)/$ my/toplinks/link.php?id=$1

thanks for your help


