I have seen this code and have even got some of it to work, but I do not understand what it does.
In this example there is $row[0] but in other parts of the code there are different numbers. What is the significance of the number between the [ and the ] ?PHP Code:if($_SESSION['token_id'] == $row[0]) {
echo ", {$_SESSION['first_name']}!";
$loggedin = 1;
}
else {
echo ", please login.";
$loggedin = 0;
}
I have spent the last several hours reading the online PHP and MySQL manuals without finding the information.



Reply With Quote






Bookmarks