PHP Tutorials By Kloplop321

PHP video tutorials, for everyone.
  • Home
  • About
  • Contact
  • Subscribe
  • Tutorial List

Category:

  • PHP
    • OOP
    • Uploading
  • Tutorial
    • PHP Tutorials
      • MySQL
        • Insert
        • PHPMyAdmin
        • Select
        • SQL
        • Update
  • Uncategorized

Archives:

  • March 2011
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009

Blogroll:

  • Tech Paul

Meta:

  • RSS
  • Comments RSS
  • Valid XHTML
  • 16Aug

    PHP & MySQL Tutorial 14: Editing on a blog — The fancy way

    Insert, MySQL, PHP, PHP Tutorials, PHPMyAdmin, Select, SQL, Tutorial, Update 11 Comments

    This tutorial goes over implementing editing, and modifying the posting page to use a really cool in-page content editor, CKEditor!
    So, here are the goals for today:

    • Implement the Fancy Editor into posting
    • Create a way to edit based on the posting

    Now, it doesn’t sound like that is much to do, but as I explain it in depth, you will understand that there is more process to such implementation than what two bullet points can convey.
    So, here is the recording(total ~ 25 minutes), there are two parts so please make sure you click on Read More to see the download-able sources along with part 2.

    Read more…

    Tags: awesomeness, blog, ckeditor, database, editing, MySQL, posting, wysiwyg

  • 03Jul

    PHP & MySQL Tutorial 12: Logging into a Basic Blog

    MySQL, PHP Tutorials, Select, Tutorial 2 Comments

    This tutorial goes over implementing a log in system into the basic blog from tutorial 10/11. The goal is to use a session, a form, and a few pages to log in, log out, and of course, setting up future tools for the blog administration that will be shown in future tutorials.
    You may refer to Tutorial 8(Login Concept) as we go though this tutorial.

    Part 1:

    Make sure to click on Read more so that you may see Part 2 and the sources(including downloads)!
    Read more…

    Tags: blog, cms, logging in, login, logout, MySQL, system

  • 29Jun

    PHP & MySQL Tutorial 11: Extending a Basic Blog

    MySQL, PHP, PHP Tutorials, Select, SQL, Tutorial 1 Comment

    This tutorial goes over an inner join SQL query and extending the basic blog from tutorial 10 to have a link to a single-post page.
    First of all, I am basing this tutorial on the last tutorial(10), which established a basic blog. Here we are going to compound the original statement that looks like
    SELECT * FROM posts ORDER BY date DESC
    What we are trying to do however, is to remove the statement that looks like
    "SELECT postname FROM users WHERE ID = ”.$row['username']
    and preserve the information on “Who posted it.”
    The Second objective of this tutorial is to simply make the titles of the blog posts linked to a page that shows that post exclusively.
    Here is Part 1 out of three, please watch all in their entirety so that you may understand them to the fullest.
    Part 1:

    Click on Read More to view the sources along with Part 2 and 3 of the video
    Read more…

    Tags: blog, inner, join, SQL

  • 26Jun

    PHP & MySQL Tutorial 10: Starting a Basic Blog

    MySQL, PHP, PHP Tutorials, PHPMyAdmin, Select, SQL, Tutorial 9 Comments

    Here’s a start for beginner web programmers: a Blog which will evolve into not only A blog, but a content management system. Alas, we need a beginning. This tutorial first starts with setting up our blog system.  This blog system is designed in a way that can be expanded for future tutorials for real application.

    Here’s the first video, Part 1:

    Please click read more to see the sources, and part 2 and 3.
    Read more…

    Tags: basic, blog, cms, content

  • 05Apr

    PHP & MySQL Tutorial 09: File Upload system with records in MySQL

    Insert, MySQL, PHP, PHP Tutorials, PHPMyAdmin, Select, SQL, Tutorial, Uploading 21 Comments

    This tutorial goes over the concept of uploading files, and keeping records in a MySQL database.
    So lets try this
    When: I need to upload files and keep long term records on who uploaded and where it is.
    Why: I don’t know, you make up the reasons.
    What: Exactly do you need to keep record of? Time, who sent it, where is it?
    Who: Depends on how you implement
    Where: On the Internet!
    How: I’ll show you.

    There are two parts, so pay attention closely. (The last part is always the most important) Don’t forget to see more of this post for the sources and part two!

    Read more…

    Tags: copy, create, css, database, db, directory, file, files, insert, ip information, list, move, MySQL, PHP, records, select, server, SQL, upload

  • 12Mar

    PHP & MySQL Tutorial 08: Mysql Login system concept

    MySQL, PHP, PHP Tutorials, PHPMyAdmin, Select, SQL, Tutorial 19 Comments

    This tutorial goes over the concept of a log in system with MySQL with sessions. (The sources are provided after the jump)
    One of my viewers sent me a message on youtube requesting this great example

    Dear kloplop321,
    I really want to make a php, mysql based game. I have an idea about how I am going to do it. I would just really love some help with the SESSION login. There are tutorials on the internet but I find that they don’t show the full code or stuff like that. So if you would please create a tutorial on it I would apprecitate it. Thanks.

    This tutorial naturally has the sources provided.

    The following videos(2) go over the concept of a login system in PHP while using sessions(to maintain the login status) and MySQL(a database that holds the information). I first go over how to make

    • the login page
    • the table in the database
    • a user through PHPMyAdmin [the next tutorial will likely go over registering users]
    • code how to validate that user and if they are validated
    • if so, set the session information
    • if acceptable, they can go to a “members only” page [which only allows identified people in]
    • a way to log out

    Again: this tutorial is pretty much a walk-through in concept of a mysql login system.

    Part 2 (the most important) and the sources after the jump.
    Read more…

    Tags: login, MySQL, PHP, PHPMyAdmin, sessions, validation

  • 15Feb

    MySQL and PHPMyAdmin Introduction with PHP 07: A basic Guestbook

    Insert, MySQL, PHP, PHP Tutorials, PHPMyAdmin, Select, SQL 4 Comments

    This is pretty much a basic “How to” for making a very basic guestbook that uses a database instead of text. I go over everything from making the database to the table, the html form and actual posting. If you watch this video you will pretty much see the basic idea of what a guestbook is, how they work, and how to make a basic one yourself.

    This video has two parts, so to understand fully, please watch both.


    Part 2 and the source after the jump
    Read more…

    Tags: basic, guestbook, guide, howto, MySQL, PHP, PHPMyAdmin, script, SQL

  • 26Dec

    MySQL and PHPMyAdmin Introduction with PHP 05

    MySQL, PHP Tutorials, PHPMyAdmin, Select No Comments

    In this tutorial I go over deleting rows, not only in PHPMyAdmin, but in PHP as well. Once rows are deleted, they are not coming back. On the side note, it is good to use something that is unique to every row when modifying them or deleting them. Otherwise you can delete anything that matches the name being “orange” and delete two rows. This is why I usually always have an ID field in my rows.
    This video tutorial goes over how to select rows from a database in PHPMyAdmin and then in PHP and then process the rows individually. Also this goes over ordering(ORDER) and limitation(LIMIT) in the SQL.
    You can find this tutorial video on youtube here.

    Source used after the jump;
    Read more…

    Tags: Deleting, MySQL, PHPMyAdmin

  • 11Dec

    MySQL and PHPMyAdmin Introduction with PHP 04

    MySQL, PHP Tutorials, PHPMyAdmin, Select No Comments

    By using PHPMyAdmin, we can first create the result we want to have in our code, and then copy the SQL into PHP and query it with mysql_query($sql). However we need to save the result for further data retrieval. Next, we need to count how many rows there are as an error prevention measure with mysql_num_rows($result), and then find the rows one at a time with mysql_fetch_array($result) within a loop.
    Take a look at the source after the jump to see what I mean, or just watch the video.
    This video tutorial goes over how to select rows from a database in PHPMyAdmin and then in PHP and then process the rows individually. Also this goes over ordering(ORDER) and limitation(LIMIT) in the SQL.
    You can find this tutorial video on youtube here.

    Source used after the jump;
    Read more…

   

PHP Tutorials By Kloplop321 is proudly powered by WordPress Entries RSS Comments RSS