PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$done = false;
// since $done is false, this makes the condition true
// NOT FALSE == TRUE
if (!$done) {
echo "We are not done yet!";
}
// this is the same as if ($done) so the condition is false
// FALSE == FALSE
else {
echo "We are done!";
}
So, since the $done is false, then "We are not done yet!". Change $done = true; and you'll see that "We are done!"
Don't name call Epic, shareme did point you in the right direction (did you look in the manual before you asked the question?), he may not have done it in the nicest possible way but there's no need to call him a turd.
Don't name call Epic, shareme did point you in the right direction (did you look in the manual before you asked the question?), he may not have done it in the nicest possible way but there's no need to call him a turd.
Mac
I did not worry about the name calling..
I took epic:
i know htat it is just checking to see if the required feilds have content in them the main thing i was worrying about was. what is this part
to mean that he understood what he was reading logic and programming wise..and just did not realize either what he stated or something else and thats why I pointed him to the manual..
if he had stated that he did not undestand those lines of code I would have explained how they work..