Quantcast
Viewing all articles
Browse latest Browse all 30

$sodapop->getFormData($data)

getFormData() should be getting the data submitted by a form.  It sends it to scrubFormData() to clean it up from injection attacks, etc.

Parameter: $data - data from the form.  Expects: An array of data from the submitted form.

Location: class.sodapop.php

public function getFormData($data) {
$data = $this->scrubFormData($data);
return $data;
}

Viewing all articles
Browse latest Browse all 30

Trending Articles