Codeigniter's method of detecting form post data, codeigniterpost_PHP tutorial

WBOY
Release: 2016-07-13 10:02:09
Original
1084 people have browsed it

Codeigniter's method of detecting form post data, codeigniterpost

This article describes the example of Codeigniter's method of detecting form post data. Share it with everyone for your reference. The details are as follows:

$name = $this->input->post(' name' ) ;
$email = $this- >input->post( ' email' ) ;
$subj ect = $this->input->post( ' subject' ) ;
$message = $this->input->post( ' message' ) ;
if(empty($name) OR empty($email) OR empty($subject) OR empty($message))
{
 show_404 ("Please go back and fill in all of the fields. " ) ;
}
Copy after login

I hope this article will be helpful to everyone’s PHP programming based on Codeigniter.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/970969.htmlTechArticleCodeigniter’s method of detecting form post data, codeigniterpost This article describes how Codeigniter detects form post data. Share it with everyone for your reference. The details are as follows: $nam...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template