ASKER
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
TRUSTED BY
Don't know what kind of framework you're using, but I guess $this->request->post is an array that contains all your POST values.
If lastname is a field in the POST form, then you can retrieve it by calling
$this->request->post['last
If this doesn't work, then you need to provide more specific info like which framework you're using, what exactly do you need, and what error you're getting.
By the way, since you can call $this->request->post['name