TUrl() > Methods |
Adds data to post to a server with the URL.
:addGetForm( <xPostData> ) --> cPostData
When <xPostData> is a Hash, its hash keys define the form fields and the hash values define the field values for a Html form. The hash values must be character strings.
When an array is passed, it must be a two dimensional array with two columns. The first column defined the field names and the second column the field values of a form.
When a character string is passed, it must bein the form "name1=value1&name2=value2"
Method :addGetForm() provides a comfortable way of creating a URL encoded character string used to transmit name/value pairs of data to a server. The method returns a string holding the URL encoded data.
http://www.xHarbour.com