Creating a Basic CMS with PHP - Part 5 [Super Improved] Adding and Editing Posts
Uploader Comments (pbj746)
All Comments (34)
-
Great tutorial
-
How do i put images a crop from admin?
-
Great series bud! You must keep going!
-
where is part 6 ?
please ?
-
@dreaddeal In order to do that you'd have to add two more columns in the posts table. From there you could put this at the end of your query for adding posts.
Date = NOW(),Time = CURTIME() That will put date like so 2012-01-17 and time like 03:19:54 into your table columns. Add a date and time to your getPosts function, then in posts.php you'd add Date under the Author, then add date and time to includes/functions.php NOT admin/includes/functions.php it's pretty simple to do
-
@MrShadyee I did that as I was doing the tutorial all you gotta do is add the links to each page in the tables so that each page shows all Manage Posts and Manage Categories so no matter what page you are on you can get to any part of the admin area.
-
@ZZZeroGold Check your code and make sure you added the header(Location: whatever.php) in to make it redirect to the last page
-
When I delete posts, it goes to my delete.php file, then i have to press back to go to the back screen.
-
Can't wait for part 6 :).
-
Hello!
Im really looking forward to Tutorial 6! But in tutorial 6, could you show us how to get the date of when the post was created? and a form where you can choose font-size, color, upload image etc? :D Would be awesome!
i really liked your desktop wallpaper. can you tell me where i can find that?
stuckUPstudios 6 months ago
@stuckUPstudios Thanks :D I get most of my wallpapers from InterfaceLift (dot com)
pbj746 6 months ago
this was easy enough for beginners to understand how to create a cms however i must say that your audio is mighty low
gonzo191 6 months ago
@gonzo191 I had the volume on my mic turned down a bit too low for this tutorial. Definitely something I'll be fixing in part 6. Thanks for the input! :D
pbj746 6 months ago