I have a link that looks like index.php?page=view&id=000154
it is a lyrics database, so there is no sensitive information or anything, but I want to make the link look more like
index.php?page=view,000154
for ease.... when I do that it still sets $page = view, but how do I make the 000154 set as $id?
my sql query looks like:
$query = "SELECT *
FROM lyrics
WHERE id = '$id'";
$result = mysql_query($query);
$number = mysql_numrows($result);
Someone I know said somthing about string replace, and didn't know whether or not that is what I wanted to look into.