June 2005
Intermediate
720 pages
20h 6m
English
Built into PHP is a handy feature referred to as Magic Quotes. Magic Quotes—when enabled—will automatically escape single and double quotation marks in the values of variables. This can help prevent problems when working with databases or HTML. But, if I enter into a form some text that includes an apostrophe (Figure 2.5), the resulting page looks strange when the text is reprinted (Figure 2.6).

Read now
Unlock full access