Prev | Current Page 9 | Next

Larry Ullman

"Building a Web Site with Ajax: Visual QuickProject Guide"

65
??? When a form is submitted using
the method you??™ll see the
form data in the URL with
a syntax of

This is the
same syntax used by but
the data isn??™t sent in the URL
and you don??™t need the question
mark
??? All of the form data needs to be
run through the
function to make it safe
to send to the PHP page Rather
than apply that function to each
value separately using a for loop
on an array of form elements lets
us accomplish the same thing
with less code
??? Theplus sign in JavaScript
is used to perform concatenation:
appending one string onto
another In PHP the period does
the same thing
??? If you wanted to send XML data
to the PHP script you would set
the to
complete the function p. 66
??? When using the GET method use
the value null as the only argument
when calling Any
data sent over GET is appended
to the URL itself When using
POST, you need to provide the
data when you call as it??™s
not sent in the URL
prepare for XML p.


Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25