This question has already been answered:

Good day to all. I want to write very simple scripts for myself. For example, the forum (very very simple) - just stupid posting messages. I do not know the private messaging system there, anything else. so that the soul was happy, and I really could make a mini engine such for the site. I know that hard and long. - therefore I do not count on a complex professional engine.

What to read? Where to look for ready-made options? (separately). With the simplest code, and not mega complex, where even the system of sending messages is terribly complex with bb codes, etc., which I still do not know.

Reported as a duplicate by Visman , PashaPash , LEQADA , BOPOH , Aries Oct 20 '15 at 10:56 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • read books about pkhp) + forums you know about that) - bes_dimm
  • Is there any programming experience in other languages? Although, once there was such a question, it means no. Start with some textbook of algebra logic. And to write in any high-level language is simple — in a human language you say what a machine does — and it does. - Indifferently
  • But is there any fresher book on practical examples (such as in Kuznetsov, Simdyanov)? just all some distant 2005 comes across. - qiwi
  • What's the difference where to start? The cycles, branches and types of variables are the same in all versions. Do not hurry to climb into the PLO - and you will be happy ...) - Indifferent
  • 2
    @qiwi, did not see, and well, lucky you. - Oleg Arkhipov

6 answers 6

Google to help. In general, I recommend the book PHP. The practice of creating WEB sites Maxim Kuznetsov, Igor Simdyanova - it describes the creation of a simple CMS engine, the development of the forum and other gadgets for the site. They also have a PHP 5/6 book; you can study from it or use these books together. Practice and practice again. Good luck to you.

    To begin to explore html , read and present what CSS is.

    Then "Create Dynamic Websites with PHP, MySQL and Javascript" by O'Reilly is a good book on these three technologies. By the way, in it in the examples a unpretentious soc. network

      For example, here asked about the "Books on OOP PHP"

        I advise you to watch the PHP course from Specialist , I really liked it. The teacher explains very clearly .. In general, do not waste your time in vain 100%. I advise.

        • Yes, be sure to watch this course. Now I look at the lessons on php Eugene Kharin. - qiwi

        Studying php should start by learning python. After it, you hardly want to spend time on php, because it will seem to you that you are transferring from Bentley to Lada.

        • one
          Guys, not for the sake of holivar, I myself went through this path. - nolka
        • Fully support @nolka and plus, I (I bought a textbook on PHP in a bookstore spending 90,000 sums) to my misfortune when I started reading about PHP I learned that everything is not very organized in it (functions are sometimes called differently [even in different styles for work with one and the same type of objects]) is very unstable (there are moments in which it says "compiler / translator behaves not stable in such situations") confirmed it with his experience and also learned that PHP is very resource-intensive for the server. Conclusion: PHP is bullshit, money is spent in vain, I look for books about Perl. IMHO - Rules
        • UPD: The only advantages of PHP are easy access to the files and data that came to the POST and GET method, the library for working with graphics. I haven’t come across such details yet, but it seems to me that he is saved for this too (and even more) IMHO - Rules
        • Well, why throw words like that? :) The latest versions of pshp are pretty fast. Pshp not bullshit, after after the python it seems somehow dull, and very uncomfortable - you have to write a lot of excess. - nolka

        Books last century! In the book, the answer to the question "how to scan the directory for the presence of png files" will take a lot of time, while google will give the right answer.

        1. You need to understand the concept of php
        2. Use google looking for the right features.

        Having these 2 things php knowledge will be constantly enhanced and grown.

        Good luck!