February 26, 201313 yr I'm a student of computer science and i want to done few projects during studies so that i can get job easily after study. I have learned html and css and i created a super nice website design and then i learn basics of javascript and now i learned basics of php from w3school and other few websites. I just know basics of php and mysql like arrays, loops, inserting and retrieving data from database. As i told that i created web design of directory website now i want to develop it, i don't know from where to start it and how cause i just know little about mysql so now where i should start. I'll be very thankful to you guys if you can help me.
February 26, 201313 yr download an ebook and if your using mysql_connect I seriously recommend you learn PDO or mysqli as mysql_ is being phased out in the upcoming PHP software.
February 26, 201313 yr You can learn a lot from online tutorials, PHP is often used with a database but as said above, use mysqli not mysql so check that a tutorial is up to date. http://www.tizag.com/phpT/index.php (mysql is out of date but PHP tutorial is useful). http://www.w3schools.com/php/php_mysql_connect.asp (uses mysqli) You will need the php.org manual http://uk.php.net/manual/en/getting-started.php for detailed codes and also the PHP function list http://uk.php.net/quickref.php and the operators http://php.net/manual/en/language.operators.php Edited February 26, 201313 yr by Wickham
February 26, 201313 yr From my own personal experience, the best way is to build something and use the language as best as you can to build more extravagant things. Doing this will introduce you to various errors and better ways of doing things and then make you a better programmer. As for PHP, try moving onto OOP. Good Luck!
February 26, 201313 yr Author i'm sorry guys i can't understand what are you saying but i think mr ben is right, i should develop few little php apps. Actually i don't need to read book cause books have only basics like arrays, loops , variables etc. I need something advanced who must have use in a website. Can anyone recommend my which applications i should develop as intermediate level.
February 26, 201313 yr i'm sorry guys i can't understand what are you saying but i think mr ben is right, i should develop few little php apps. Actually i don't need to read book cause books have only basics like arrays, loops , variables etc. I need something advanced who must have use in a website. Can anyone recommend my which applications i should develop as intermediate level. You'd want to ready everything available if you intend to build anything. Can't just build something you have no experience in or haven't looked into. Arrays, loops etc which as you mentioned book provide information on, they provide that because it's commonly used on projects your looking to build too. Try places like http://www.CodeCademy.com, http://www.TeamTreeHouse.com. Or just YouTube (I recommend phpacademy on YouTube), videos are my favourite to watch and learn from.
February 26, 201313 yr Or buy or even loan some books from the library to help as well - this might be quite handy as a reference point too - http://www.w3schools.com/php/default.asp.
February 26, 201313 yr Actually i don't need to read book cause books have only basics Don't disregard the importance of books; if you're not learning much from them then you're reading the wrong ones. I've heard good things about "Beginning PHP 5.3" by Matt Doyle despite not having read it but I may give it a shot myself soon. Find a new book that teaches both basic and advanced techniques and shows you how to apply them.
February 26, 201313 yr i'm sorry guys i can't understand what are you saying but i think mr ben is right, i should develop few little php apps. Actually i don't need to read book cause books have only basics like arrays, loops , variables etc. I need something advanced who must have use in a website. Can anyone recommend my which applications i should develop as intermediate level. Hate to break it to u if u can't learn the basics like arrays,loops,variables datatypes ect... then your going to be lost at building anything then after that you need to learn things like mysqli, PDO,OOP and design patterns. This all is going to take u a few months or more depending how fast u learn Edited February 26, 201313 yr by webdesigner93
March 2, 201313 yr I think what your looking are example you could work through i'm sorry guys i can't understand what are you saying but i think mr ben is right, i should develop few little php apps. Actually i don't need to read book cause books have only basics like arrays, loops , variables etc. I need something advanced who must have use in a website. Can anyone recommend my which applications i should develop as intermediate level. (someone just posted this on this forum) http://thenewboston.org/list.php?cat=48 http://thenewboston.org/list.php?cat=51 <------ if you do one, do this is one!!
March 2, 201313 yr I recommend the book "PHP6/MySQL Programming - For the absolute beginner" by Andy Harris. It's really easy to read, and packed full of information. Other than that, I would also recommend w3schools
March 3, 201313 yr I highly recommend PHP and MySQL for Dynamic Websites by Larry Ullman. Whilst it does start with the basics, the last few chapters build real world applications such as a message board and an ecommerce example. The middle chapters get you up and running with MySql and introduce you to techniques that you need to know such as security methods, regular expressions and cookies/sessions. Each of these chapters uses real world examples to demonstrate the concepts and the author presents a lot of useful programming techniques and php functions. The supporting forum is very helpful and active. I initially skipped around the chapters diving into what I wanted to learn and ended up reading the whole book.
March 3, 201313 yr I agree with rallport that the best way to learn is to create your own applications. What I liked about the book I suggested is that each of the chapters ends with exercises for you to practice and confirm your understanding. Also there is a chapter on debugging, but as rallport noted, the best way to learn debugging is to muck about.
Create an account or sign in to comment