I was wondering if anyone could tell me the PHP Code for getting the IDs at the end of page, ex.
http://www.website.com/index.php?id=01
One of my friends gave me this code:
Code:
<html>
<?php
if (strpos($_POST['id'],'01') !== FALSE) {
?>
... HTML CODE HERE ...
<?php
} if (strpos($_POST['id'],'02') !== FALSE) {
?>
... HTML CODE HERE ...
<?php
} if (strpos($_POST['id'],'03') !== FALSE) {
?>
... HTML CODE HERE ...
<?php
}
?>
</html>
But when i tried using it, the IDs didn't work. I changed all of the FALSEs to TRUE and then it just displayed all of them. Every time i tested it the ID part of it had no effect, except for when it caused an error. Thx to whoever can tell me