Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
public function insert($titles){
$sqls = "INSERT INTO alb (name) VALUES(?)" ;
$stmt = $this->conn->prepare($sqls);
if ($stmt ) {
$stmt->bind_param('s', $titles);
$stmt->execute();
print'Back page addnews 5 sec ';
$stmt->close();
} else {
trigger_error('Statement failed : ' . $stmt->error, E_USER_ERROR);
}
return $stmt;
}
<form name="upload" enctype="multipart/form-data" method="POST" style="text-align: center">
<input type="text" name="title"><br>
<input type="submit" name="send" value="Upload">
</form>
$ins = new Con();
if (isset($_POST['send'])){
$titles = $_POST['title'];
$ins->insert($titles);
}
Никога не съм го ползвал, но интересното е, че в гугъл резултатите (дори само previewтата) показват точно обратното:Fakeheal каза:Само ще вметна, че codeigniter е най-лошия пример за MVC, поради простата причина, че не е MVC.
anonimen каза:Никога не съм го ползвал, но интересното е, че в гугъл резултатите (дори само previewтата) показват точно обратното:Fakeheal каза:Само ще вметна, че codeigniter е най-лошия пример за MVC, поради простата причина, че не е MVC.
CodeIgniter is based on the Model-View-Controller (MVC) development pattern.
A lightweight open source web application framework that utilizes the MVC architecture
Codeigniter is PHP Framework which built on top of the MVC
CodeIgniter is a powerful PHP framework that can help you greatly ... logic from presentation by using a Model-View-Controller (MVC) dynamic
CodeIgniter is very flexible when it comes to following the MVC pattern
...