Thanks for sharing, you make it look so easy…now I get how it is done in php and mysql database connection overview/concept. I've been looking for this, others taught too much and distract me.
Hello thank you for your explanation. Can you please tell me how to get the content of the article after selecting the title from the dropdownlist in a text area. Thank you.
Hello, is there a way of getting in touch with you via email? I have a couple of questions for you. Basically, I would like to ask you about how to build an e-learning platform. I know there are many, and I can use one of them, but to be honest I don´t really like their design and usability. So I am interested in creating something from scratch. And I have some questions regarding the creation of a quiz page with multiple question types. I don´t know where to start. What language I could use the create this. Thanks in advance.
Hi dude, the videos is absolutely awesome. I've wondered if you are able to provide me the whole set of files, because the link in the description contains only 2 files? If you can – my mail is hristian.bonev@gmail.com Thanks in advance!
32 responses to “PHP : Creating a CMS in 1 HOUR”
That's a basic CRUD application. Can be done in less than 20min, deffo not worth an hour
Thanks for sharing, you make it look so easy…now I get how it is done in php and mysql database connection overview/concept. I've been looking for this, others taught too much and distract me.
Awesome video! Coding from scratch. Can’t get better. It does look like you are using MacOS. My question is which code editor are you using?
What editor are you using?
You did trivial CRUD operations and this named a CMS? Really?
Why waste an hour when you can just use Cosmic JS?
Please allow me to share this useful video playlist and the source code for each project video.
Wanna create ecommerce template with admin panel, maybe you gonna like this one: https://www.youtube.com/playlist?list=PLHdjLtO7x0fVCRKlIsQVM0aec2kzwn5RC
Awesome PHP Tips and Tricks for performance improvement of the site and other stuffs.
http://developers-era.com
I have a question how would i make it so that an image can be uploaded with the add function?
Please do add "Edit article" in your tut. Greatly appreciated.
Hello thank you for your explanation.
Can you please tell me how to get the content of the article after selecting the title from the dropdownlist in a text area.
Thank you.
Hi Code3 Academy. Do you save your work? Can you please share the code with us?
Hello, is there a way of getting in touch with you via email? I have a couple of questions for you. Basically, I would like to ask you about how to build an e-learning platform. I know there are many, and I can use one of them, but to be honest I don´t really like their design and usability. So I am interested in creating something from scratch. And I have some questions regarding the creation of a quiz page with multiple question types. I don´t know where to start. What language I could use the create this. Thanks in advance.
Incorrect details error :/
<?php
session_start();
include_once('../includes/connection.php');
if (isset($_SESSION['logged_in'])) {
// display index
} else {
if (isset($_POST['username'], $_POST['password'])) {
$username = $_POST['username'];
$password = md5($_POST['password']);
if (empty($username) or empty($password)) {
$error = 'All fields are required!';
} else {
$query = $db->prepare("SELECT * FROM users WHERE user_name = ? user_password = ?");
$query->bindValue(1, $username);
$query->bindValue(2, $password);
$query->execute();
$num = $query->rowCount();
if ($num == 1) {
// user entered correct details
$_SESSION['logged_in'] = true;
header('Location: index.php');
exit();
} else {
// user entered false details
$error = 'Incorrect details!';
}
}
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CMS Tutorial</title>
<link rel="stylesheet" href="../assets/css/style.css">
</head>
<body>
<div class="container">
<a href="index.php" id="logo">CMS</a>
<br /><br />
<?php if (isset($error)) { ?>
<small style="color:#aa0000;"><?php echo $error; ?></small>
<br /><br />
<?php } ?>
<form action="index.php" method="post" autocomplete="off">
<input type="text" name="username" placeholder="Username" />
<input type="password" name="password" placeholder="Password" />
<button type="submit">Login</button>
</form>
</div>
</body>
</html>
<?php } ?>
Hi there. Sublime text what is the theme you are using?
Code3 Academy have you abandoned your YouTube account? No replies to comments and no new videos. You have great content I wish you were still around.
Hey !! thanks a ton for the cms video but u didn't show the edit part …Please make a video on how to edit a article..eagerly waiting
Watching your tutorial in 2018 and i got all i need to build my travel system. Thanks for your tutorial its very clear and simple as well 👍
Hi, I have noticed something : You can't delete the 1st article! Is that how you intended it to be ?
Who is this guy? I love his voice. Sounds like Jon Snow from Game of Thrones.
Thank you, I also added there welcome message for user:
if ($num == 1) {
$_SESSION['logged_in'] = true;
session_start();
$_SESSION['user_name'] = $username;
and then:
<div class = "container">
<a href="../index.php" id="logo">CMS</a>
<p>Welcome,
<?php
echo $_SESSION['user_name'];
?>
</p>
<ol>
<li><a href="add.php">Add Article</a></li>
<li><a href="delete.php">Delete Article</a></li>
<li><a href="logout.php">Logout</a></li>
</ol>
great tutorial 🙂
THANKS!!!!
its just saying Database error.
How can another users add any articles except admin?
This was helpful, thank you.
Hello, thank you so much for this video. I couldn't find your video about PDO, which you mentioned in this course.
Hi dude, the videos is absolutely awesome. I've wondered if you are able to provide me the whole set of files, because the link in the description contains only 2 files?
If you can – my mail is hristian.bonev@gmail.com
Thanks in advance!
Thank you! This was very useful for beginners!
Hats off!
http://lifejobset.com/?sharethis=85489
ThankYou
really useful..but i dont know the pdo version that only i confused..otherwise superb