Ok, i have most all my tables done, now i dont know where to start, do i need to do some reading and so on, or what do i need to do, i am a complete noob at php, and i have dont a few Tut's on it, thats all though =[ I'm not sure if i need to make a config file first or what πŸ˜•

So where should i go, or start to start learning php πŸ˜›

Thanks

    Perhaps you should explain what it is you are doing first?

      Sorry, Like i said im new to this, but heres what i am doing

      I am going to attempt to make a custom php site for my clan..

      1)I want to make the home page have the News on it, where people can post comments.
      2)Make a detaild members list where each member has a profile.
      3)A Results page where it shows Detaild Match reports and scroes.
      4)A servers page to show our servers.
      5)A Custom Forum.
      6)Members login where they would login and edit there profiles and post on the forums.
      7)A Contacts page with info like irc channel... e-mails.

      And thats what i would like to have πŸ˜› If i need to go into further detail let me know πŸ™‚ Or i can send you a link to a site that i really like, and it has alot of the things i would like to create.

        I recommend you either pick something considerably easier, or use a pre-written script. www.hotscripts.com have alot of that sort of thing.

        What you are suggesting would take an experienced PHP developer a fair amount of time.

          yeah iv all ready seached though Hotscripts, i saw some but didnt like them, I would really like to do this on my own, because then i can have exactly what i would want πŸ™‚ If it takes me time, i will do it, iv just wanted to do this for the past years, and now i think i really want to start it πŸ™‚ I just dont know if i should go pick a book up, or read a site or what, or just look at tuts πŸ˜•

            That is very admirable, but you are trying to get behind the wheel of a 1963 Corvette Stingray, and you haven't even figured out how to ride your bike without the training wheels yet.

            One of the best ways to learn is to go to Hotscripts.com, and find a simple script (like a counter), and pluck it apart to see how it does what it does.

            Use that in conjunction with the well written documentation found at http://www.php.net and http://www.mysql.com to figure it out.

            Then move up to a more challenging one. We would all love to have a perfectly written self designed code, but that just won't happen, because of how different people interpret different things, so learn the basics (echoing "HELLO WORLD" for example, and move on up.) It won't take as much time as you think, if you can grasp the concepts, and be diligent in your learning.

              It's not so much that he is attempting to do a complicated task, because being able to submit news and update contact info and post scores,etc is all essentially the same thing. Show a form, insert/update via query into db, pull back information. The forum, though, can be a pain in the butt to create/maintain...

              But I do recommend reading/doing some textbook examples that would be able to show you the basics and how you might go about accomplishing your goal -- I think it's great that you'd prefer to do it yourself than use some pre-fabricated script, I've never been one for using pre-made scripts without first attempting it myself and even then, I'd still prefer to not look at somebody else's code unless I am completely stuck. I'd suggest buying any beginning PHP book and just work through it...it's a nice resource to have on hand, anyways.

              good luck!

                k, thats what im going to do, is that how you guys learned, reading, and trial and error?

                And how long did it take you to make a nice programmed site?

                  start out easy...create a simple form that you can input data into - that when submitted, gets stored into a database

                  or even easier than that, play with variables and echo statements

                  <?
                  $test = "John";
                  if ($test =="John")
                  {
                  $sex = "guy";
                  }
                  else
                  {
                  $sex = "gal";
                  }
                  echo "$test is a great $sex";
                  

                    Thanks, i like it when peeps give me some code to play with !

                    But im getting this error?

                    Parse error: parse error, expecting `'('' in c:\phpdev\www\clan\test2.php on line 3

                      That's pretty much how we all started...

                      Add parenthesis around your IF condition like so:

                      <? 
                      $test = "John"; 
                      if ($test =="John") { 
                        $sex = "guy"; 
                      } else { 
                        $sex = "gal"; 
                      } 
                      echo "$test is a great $sex"; 
                      

                      And Celibate, I agree, it's not overly complicated (what he is trying to do), but when you want to learn how to do something, like drive a car, you don't go to Truck Masters, and ask them to help you get your CDL license. You go to the DMV and get the little booklet thing.

                      It's a matter of perspective. The kind of thing he's trying to do is definitely not something you jump into with both feet. You have to dip the toe in the water and test it's depth and temperature.

                      Don't you hate it when people speak in clichΓ© like metaphors ;-) Me too! LOL

                        hehe!!1 I hope this book im going to go pick up has alot of the stuff in, a few month back i was looking at a book, and it showed you how to make forums, no joke, and i wanted to get it, but i just bought a html book. =[ So im going to go try to pick that book up πŸ˜ƒ

                          make sure you also get a PHP book...HTML alone can't perform what you want to do, efficiently

                            Yeah, ill be looking for a PHP book with MySQL and a book on how to creat forums πŸ˜›

                            Brb

                            Goes to store

                              I don't think you will find any books on 'how to create forums in php' However, if you break down what a forum really is, it's just a page that displays stored text that is in a db. Ok, maybe a bit more complicated than that but its a good way to start thinking about how to create a 'forum' or 'mail system'...

                                i picked up

                                Sams-Teach Yourself

                                PHP, MySQL and Apache

                                In 24 Hours

                                It came with a CD, im going to check it out really quick, its sorda funny, who could learn PHP in 24 hours, ROFL

                                  ohh, the CD comes with some tuts and apache and other stuff =\ that i dont need =[

                                  Well i better start reading!

                                    OMG!!! It come with a already made forum on the DISC!!!! yeah!!! now i just have to mod it and make it look l337 πŸ˜›

                                    And a login form all ready done!!!! w00t, this is l33t Sauce!!!

                                      Be careful with the Sam's Teach Yourself xxxxxxx in 24 Hours Series of books.

                                      The series really plays on the whole "learn it quick" principle, and can sometimes shortchange your learning by providing you with quick pre-fabbed scripts. (like forums)

                                      Sam's books teach you the basics, which is great to get started, but you will outgrow its lesson plan really quick.

                                      I have a great book that I have been using at home (Can't remember the title) but when I get home, I will post its title here for you. It too comes with a CD with pre-fabbed things, but goes into great details to explain how all of the code works, OOP, class structures, authentication principles, etc...

                                      I will post the title this evening.

                                        Write a Reply...