Jump to content
Larry Ullman's Book Forums

TikaDlance

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About TikaDlance

  • Rank
    Newbie
  1. I agree with Sharon. I'm having issues with chapt. 6 persues. Having some definitive code to check our work or to even give us helpful hints/answers to explain things would be very beneficial. Rewriting the code part of the persue is frustrating without some guidance to know if you're on the right track or not. While I find this part of the chapters intriguing and challenging, I find myself giving up (with much regret) because I don't really know what I'm doing yet. Same with an answer key to the reviews. While yes the answers are in the chapter preceding it, it would be nice to have an an
  2. Hi Stuart! Thanks for taking the time to explain things to me. Much appreciated. The wording and example is a bit confusing for a newb like me, but let me give it a shot: When we use one equal sign, we're saying that the variable IS that value... say "yes" in this example, which will make the variable always result in being TRUE regardless if the user checks yes or not on the form? But when you use two equal signs, you're comparing the value of the variable to make sure that the value has a value of "yes", so that if a user chooses "no" for example, it will return a FALSE but if they
  3. No problem! Just reimburse me for my involuntary visit to the local psychiatric center and we'll call it even. lol Thanks! Yes, I do actually. Well not "clearly" (lol) but for the most part I understand that "=" isn't "equal to" and that "==" does mean "equal to", and that using one or the other can changes things. But to really grasp exactly HOW it changes things is a little fuzzy in some areas. I think what's making it harder to grasp is when I changed it to one "=" it seemed to work as it should. Crazy stuff. I'm sure if I really sit here and think it through it will become
  4. YAY! That fixed it! Thanks so much! It's been driving me absolutely insane! It makes so much sense now that it's explained. I actually feel like an idiot for not figuring that out on my own. lol I know... I could have just used the original method with no issues, and move on... but noooooo..... I "needed" to get THIS way working simply because it wasn't. lol Many thanks!
  5. I posted this on the web site "errata" page for this book. I keep getting an "undefined index" error when I don't click the "terms" checkbox on the form. But it seemed to work fine when I changed the following: //Validate the terms: if ( !isset($_POST['terms']) AND ($_POST['terms'] == 'Yes') ) { echo '<p class="error">You must accept the terms.</p>'; $okay = FALSE; } to //Validate the terms: if ( !isset($_POST['terms']) AND ($_POST['terms'] = 'Yes') ) { echo '<p class="error">You must accept the terms.</p>'; $okay = FALSE; } So I fig
×
×
  • Create New...