Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Learning PHP, Need some assistance
ddwyer
post Aug 6 2004, 07:07 PM
Post #1


Newbie
*

Group: Members
Posts: 9
Joined: 2-August 04
Member No.: 461



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
Go to the top of the page
 
+Quote Post
Argosoft
post Aug 6 2004, 07:15 PM
Post #2


Member [Level 1]
****

Group: Members
Posts: 54
Joined: 2-August 04
Member No.: 477



ohmy.gif woow.. that would be very useful!

i'm interested too... if someone knows any site of this kind... it would be very appreciated smile.gif
Go to the top of the page
 
+Quote Post
Roly
post Aug 6 2004, 08:40 PM
Post #3


Advanced Member
*******

Group: Members
Posts: 144
Joined: 24-July 04
From: Arizona
Member No.: 189



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 >_>
Go to the top of the page
 
+Quote Post
Xenon
post Aug 7 2004, 02:02 AM
Post #4


Newbie [Level 1]
*

Group: Members
Posts: 20
Joined: 6-August 04
From: SOS!! I'm drowned!
Member No.: 692



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 recomend
http://www.w3schools.com/php/default.asp
Next 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.
CODE

<?php
include("hello.php");
?>


Next you may try something advanced.Try defining databases like this

CODE

<?php

$host = "localhost";  // database host
$user = "root";       // database username
$pass = "blabla";           // database password
$db = "yourdb";   // database name

?>


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
laugh.gif

Well here are some more links.

http://www.php.net/tut.php the official one laugh.gif
http://www.gimpster.com/wiki/PhpTutorial
http://hotwired.lycos.com/webmonkey/progra.../tutorial4.html
http://www.hotscripts.com/PHP/Tips_and_Tutorials/
http://codewalkers.com/tutorials.php Here are the advanced stuff. You will find some great practical examples.
http://www.spoono.com/php/tutorials/
http://webreference.com/programming/php/
laugh.gif
Go to the top of the page
 
+Quote Post
hatebreed
post Aug 7 2004, 08:11 AM
Post #5


Super Member
*********

Group: Members
Posts: 227
Joined: 4-August 04
From: Serbia!!!!
Member No.: 652



@Xenon

thanx for the links wink.gif
Go to the top of the page
 
+Quote Post
cnfir
post Aug 7 2004, 09:23 AM
Post #6


Newbie
*

Group: Members
Posts: 7
Joined: 24-July 04
Member No.: 188



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.....
huh.gif blink.gif
help...
Go to the top of the page
 
+Quote Post
SilverBoarder
post Aug 8 2004, 06:36 PM
Post #7


Newbie [Level 3]
***

Group: Members
Posts: 42
Joined: 7-August 04
Member No.: 713



THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right site
Go to the top of the page
 
+Quote Post
LuciferStar
post Aug 9 2004, 10:08 AM
Post #8


Advanced Member
*******

Group: Members
Posts: 114
Joined: 9-August 04
From: Suzhou Jiangsu China
Member No.: 743



QUOTE(SilverBoarder @ Aug 8 2004, 06:36 PM)
THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right site

Learn C/C++ first
rewrite c/c++ code into php

take php manual with you always.
Go to the top of the page
 
+Quote Post
Xenon
post Aug 21 2004, 12:49 AM
Post #9


Newbie [Level 1]
*

Group: Members
Posts: 20
Joined: 6-August 04
From: SOS!! I'm drowned!
Member No.: 692



QUOTE(LuciferStar @ Aug 9 2004, 10:08 AM)
QUOTE(SilverBoarder @ Aug 8 2004, 06:36 PM)
THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right site

Learn C/C++ first
rewrite c/c++ code into php

take 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.
sad.gif
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. laugh.gif
Go to the top of the page
 
+Quote Post
Supaflyfrank