How to create a CMS with PHP // Part 6 – Updating Our Content (Final Video)
In this series I’ll show you how to make a CMS with PHP using modern techniques using Classes and Functions to get the best result on your page.
Video Rating: 4 / 5
In this series I’ll show you how to make a CMS with PHP using modern techniques using Classes and Functions to get the best result on your page.
Video Rating: 4 / 5
Also, I followed this tut until the end, but somehow I get the error that you had @ 01:51. I also tried to replace $_GET with $_POST but that didn’t work.
Your tutorials are really understandable and well explained, keep it up!
@LDDCreations Ahhh alright well that makes sense, I’ll try that out; thank you so much for the help.
@jrock20023 The slashes are used to escape the string. When you start a string with double quotes you cannot add double quotes inside of it because PHP will think you are closing the string. So to prevent that you add the backslash.
To work around this you can wrap the string in single quotes, and then you can put as many double quotes in the string.
// $link = ‘Einstein said, “The only reason for time is so that everything doesn’t happen at once.” Which is an awesome quote!’;
So I got around to making this and it’s working great except for one thing: apostrophes and quotes all are echoed out with a slash before them (eg: ‘ and “) Any suggestions about what I can do to echo those out without the stupid before them?
I didn’t understand which page you go to when delete is selected. If an anchor tag is used and the value is only a querystring without a php page being specified, does PHP fill in the pagename from the current page, does it point to the index page or does it depend on the browser you use? Thanks. Jim.
a h r e f = ” ? delete=
Note: spaces added to paste into utube comment.
I have one question.
In the partial statement:
href=”?delete=.
what web page is the delete action being sent to?
Is it the index page, the current page, or a different page?
Sorry I couldn’t post the whole line of code.
Thanks for your help understanding.
JIm.
@jpblier No, the ScoobyDooobyD00 domain expired and I don’t have a site for my source code anymore
Is ScoobyDooobyD00 still your working domain for source code downloads?
ScoobyDoobyDoo Is there a place to download the complete iles to study. Thanks. Jim.
@MeKlonas it is pretty good for such a short amount of time. it could easily be expanded.
Thanks
Few years my be “modern” for an infant but not in terms of Internet technologies, methinks. PHP::OOP started in PHP4 and has been rewritten for PHP5 (now it’s fully supported, AFAIK).
It is coded in OOP. (Object orinted programming //not sure how to spell it)
And OOP is kind of a modern thing in PHP, i think
Yes.. Can you please zip it (or rar it).
good try, but not even close to modern cms
Thank you!
Thank you!! your tutorials are really helpfull!! from Netherlands
Hi,
Can you make for me a link with a .rar file with alle files from the cms? Because i am from germany and i doesnt understand what you say all times! Thanks! I gibe 5*! Please Contact me per PN on Youtube – I hope you can make this for me
Greetings from Germany,
Toby
Great, man!
Now the question: how to keep settings (database host,user,pass; path of the CMS installation, and so on) in separate file, so it could be easily configurable?
And also what is so modern about your code? I mean: what was different a few years ago?
Cheers,
Matthew
Just great tuts… but 1 thing is left for this CMS: a user system. I think this’ll be verry important, so, can you make a tut about that? And, yeah re order posts will be nice too!
Can you also add additional tutorial on how to re-oder posts? Thanks
Hi, Is it possible for you to provide the source for us to download?
Thanks!
Excellent teaching, very transparent and simplified. Thank you.