What is the proper syntax for getting the field "address_type_name" from the form
to the database with the addslashes command
on the following line:
$db->p("address_type_name")
?
context...
<TABLE ALIGN=CENTER WIDTH=100% CELLSPACING=0 CELLPADDING=6 BORDER=0>
<TR>
<TD ALIGN=RIGHT>Address Nickname:</TD>
<TD>
<INPUT TYPE=TEXT NAME=address_type_name VALUE="<?php $db->p("address_type_name")
?>"
MAXLENGTH=64 SIZE=16>
<!-- IF a user enters an ADDRESS_TYPE_NAME that has an apostrophe in it
for example...Grandma's Packages...then an error would be generated by PHP
What needs to take place is the ADDSLASHES command -->
</TD>