ddwyer 0 Report post Posted August 6, 2004 Hello All,I am learning PHP. I have been reading several tutorials and such but what I am wondering is this: is there a site that recomends simple project programs to practice your coding? Or can someone recommend a few programs I could write to get better. Kind of like learning it in school - after you learn it, you get an assignment to go practice it. Thanks,Dennis Share this post Link to post Share on other sites
Argosoft 0 Report post Posted August 6, 2004 woow.. that would be very useful!i'm interested too... if someone knows any site of this kind... it would be very appreciated Share this post Link to post Share on other sites
Roly 0 Report post Posted August 6, 2004 Try making a chat. First make it so it records data in a file. THen after a while change it to a mysql database which will require you to know another language >_> Share this post Link to post Share on other sites
Xenon 0 Report post Posted August 7, 2004 Then you will have to get a book on learning php and attend a course. That's the best way to learn since you will get assistance from instructors and they will perform assignments.But when self learning (as I did) you will mostly have to rely on tutorial sites.First get a glimpse what php is through one of those tuts out there. I'll recomendhttp://www.w3schools.com/php/default.aspNext start to write a simple code, don't panic if it doesn't work as you intend it to be. Trial and error make the best programmers.I'll think adding the include function to a html/php page is the best first practical to get your hands on.Something like this. [/br]<?php[br]include("hello.php");[/br]?>[br] Next you may try something advanced.Try defining databases like this[/br]<?php[br][/br]$host = "localhost"; Â // database host[br]$user = "root"; Â Â Â // database username[/br]$pass = "blabla"; Â Â Â Â Â // database password[br]$db = "yourdb"; Â // database name[br][/br]?>[/br] Now you will be ready to write a simple news script. Try create a form and use a php script to process data and add to a database. Then another script to recall data. News scripts are the simplest scripts for beginners.Last time for blasting.You can write polls, email systems,rating systems or maybe forum scripts.As I said before the key is Trial and Error Well here are some more links.http://de1.php.net/tut.php the official one http://www.gimpster.com/wiki/PhpTutorialhttp://www.lycos.com/http://www.hotscripts.com/category/scripts/php/tutorials-tips/http://forums.xisto.com/no_longer_exists/ Here are the advanced stuff. You will find some great practical examples.http://forums.xisto.com/no_longer_exists/http://www.webreference.com/programming/php/index.html Share this post Link to post Share on other sites
hatebreed 0 Report post Posted August 7, 2004 @Xenonthanx for the links Share this post Link to post Share on other sites
cnfir 0 Report post Posted August 7, 2004 oh my god, there's so many Englishes............i didn't understand a word!!!!!what could i do???when i asked the programmer, the also gave me the URLs....but i can't read..... help... Share this post Link to post Share on other sites
SilverBoarder 0 Report post Posted August 8, 2004 THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right site Share this post Link to post Share on other sites
LuciferStar 0 Report post Posted August 9, 2004 THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right siteLearn C/C++ firstrewrite c/c++ code into phptake php manual with you always. Share this post Link to post Share on other sites
Xenon 0 Report post Posted August 21, 2004 THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right siteLearn C/C++ firstrewrite c/c++ code into phptake php manual with you always. I think it's pretty easy to learn php as your first scripting language. Unlike others it has a "fun to code" type outcome and it's more friendly and easy to understand by looking at the code. C++ and Java all seems too complex and they are not easy to understand unless the coder left comments.Starting your coding career in php is a good idea. All you need is a guide and plenty of practice. Then you can shift to something like c++ or java. Share this post Link to post Share on other sites
Supaflyfrank 0 Report post Posted August 23, 2004 You dont need to learn C++ to learn PHP. That would be stupid for the fact C++ is alot harder to learn that PHP. Just go to http://programmersheaven.com/ their are some php tutorial that can get you started. From that website you wont need anything else from alot longer. Share this post Link to post Share on other sites
Stealth 0 Report post Posted August 24, 2004 Another way is you can grab a php script and trry to reprogram it and eventually you get used to the codes.. Share this post Link to post Share on other sites
neeki4444 0 Report post Posted August 31, 2004 Buy the sams php teach yourself in 24hours to get a quick handle on php. If you want more resources go to php.net and just search on their function list to see some sample code. Share this post Link to post Share on other sites
Zenchi 0 Report post Posted September 1, 2004 You dont need to learn C++ to learn PHP. That would be stupid for the fact C++ is alot harder to learn that PHP. Just go to http://programmersheaven.com/ their are some php tutorial that can get you started. From that website you wont need anything else from alot longer.It would be useful to learn C++, as it'd make php easier to program.Personally I have background in PHP(like) programming, but just the basics. My strategy (which is usually wrong) is to disect the code as I see, then ask questions on what I don't understand. Share this post Link to post Share on other sites
liliano 0 Report post Posted September 14, 2004 i use http://forums.xisto.com/no_longer_exists/ for online Learing Share this post Link to post Share on other sites
africa 0 Report post Posted December 21, 2008 so what do you gusy recommend? i started learning php a couple of months back.i've never done java, c# or c++.Which one is more efficient?Learning php seems to be a lot of fun btw. Share this post Link to post Share on other sites