Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

PHP IF FUNCTION


ghost's Avatar
0 0

HELLO!:D

Im redesigning my website at the minute and im in desperate PHP need (well not quite)

at the moment im in need of a script that does something like this:

<?if (URL != home.php){
hide that bit if code
}
else
{
display that bit of code
}
?>

As in a GET Form having the action as the same page (thus home.php becomes home.php?var=dfgh) and after you have filled it in an and subitted it displays what its supposed to and deletes the form

Thanks for help and read a few times because my english and grammer is terrible


spyware's Avatar
Banned
0 0

REQUEST_URI

Google and study it.