Jump to content
Larry Ullman's Book Forums

tburgess

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by tburgess

  1. I have just applied your technique for scrubbing strings within a contact us form. What I found is that after doing this the comments textarea of my form maintained the comments after submitting. I got aroud this by changing line 58 of script 13.1 to $scrubbed = array(); Is this ok?
  2. Excellent thanks Got all that now! Last question on Ch1, page 25 section 5, why use the concatenation operator within the echo? Is that because it is within single quotes and the variables would be taken literally if concat wasn't used? Thanks, Tom
  3. Hey, thanks for the reply! So why not just a cost of <b>\$$price. ?
  4. Hi, I hope the fact that I have a question on Ch1 doesn't mean I am not up to this but we will see. Basically it's to do with concatenation. On page 25, section 5, 3rd line of the echo, a cost of <b>$' . $price . '</b> I don't understand the ' . $price . ' basically. Why the space either side of $price and each side of the dots? Any help understanding this is greatly appreciated. Thanks, Tom
×
×
  • Create New...