The user can edit my sql results using url's like mysite.com/team.php/username=shadowteamname=whatever
and so on i am gonna make it check the database be for it does the mysql
But i have been looking at if else tut and do not get it
If i don;t get something i think its better to ask
$number_three = 3;
if ( $number_three == 3 ) {
echo "The if statement evaluated to true";
} else {
echo "The if statement evaluated to false";
}
Now i want to check $id if $id = $id then do the mysql
else don't do it
But i don't know how to replace the 3 with a session variable
i am posting the $id on top of the page so just got to check it
any advice ?

New Topic/Question
Reply



MultiQuote









|