Jump to content

i learn PHP but i can't do any thing

- - - - -

  • Please log in to reply
9 replies to this topic

#1
ToRead

ToRead

    Newbie

  • Members
  • Pip
  • 7 posts
hi eveyone,
i just learn PHP from w3schools
i learn eveything from it during 3 weeks
but i feel like i can't do any thing in it
when i see th other secript in php i can't even do the same it .
so is there any way to learn or other way that i can program in php

#2
Revolt

Revolt

    Programmer

  • Members
  • PipPipPip
  • 99 posts
Do you have any other programming experience? W3Schools reads more as a reference than a learning tutorial for inexperienced programmers.

I recommend getting a good book that explains PHP to beginners. I personally don't know any since when I started with PHP I had already programmed in C, C++ and VB.NET so most of the programming concepts were already wired into my brain. However, some other user might be able to recommend you a good one or you might want to search amazon for php book reviews for example.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
If this is your first language, you will probably want to start by creating simple applications that produce output and process basic form data. "Real" PHP programs use a lot more than just PHP, they use HTML, CSS, SQL, and JavaScript to create an application that lives both in the browser and on the server, with persistent data being kept in a database and session variables.

If PHP is your first language, it's important to realize that many of the sites you see are the result of people with several years of experience with programming. Even a site like w3schools is fairly non-trivial. Be patient, start small, and give yourself time.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
om sa

om sa

    Newbie

  • Members
  • PipPip
  • 11 posts
-I really recommend you to have a good book about PHP (and there is many of them available out there).
-If this your first programming language, you may need a while to get your head around basic programming concepts.
-Finally, you should practice every thing you learn, start doing some basic programs, and then go harder gradually.

good luck :)

#5
RHochstenbach

RHochstenbach

    Learning Programmer

  • Members
  • PipPipPip
  • 56 posts
Also check Tizag Tutorials, it's where I started learning it myself :)

#6
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Tizag pretty much taught me PHP, good luck!
BTW W3C schools is basically just giving you pointers, alone W3C schools is a pretty bad course (but with others its amazing).
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#7
CatchMeTux

CatchMeTux

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
It is because you didn't even practice what you've learned. Experience is the best teacher. :thumbup1:

#8
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Mmmm...
Did you program any of the examples? Maybe adding features that you have learned??
"I learn php but i cant do anything" Firstly:
learn is a form for talking about the future.
i is meant to be capital
cant deserves to be can't
and php is PHP

3 weeks?? You could not possibly learn everything in PHP in three weeks, you could be come fluent if you studied properly. What attempts have you made?

Do you even have PHP (+a webserver) installed??
Have you ever written a sngle piece of PHP code (I don't care if you copied it word for word, as long as you phyically wrote/typed it)??
Have you tried tackling a basic problem with PHP??
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#9
Machida

Machida

    Newbie

  • Members
  • Pip
  • 4 posts
Google it, Youtube it, Read!
Do it all step by step!
Focus on what you wanna do , and work hard to finish it .
Just dont give up and work hard, After all that you will be an expert!


#10
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
I learned almost all my programming knowledge from the internet. As for experience being the best teacher, I can agree with that.

The other thing, it might be a good idea to try things locally (as in running as script), before uploading anything to the server.

echo "Hello World!\r\n"; 

echo "\r\n"; 

print "(You can make console programs with PHP too :)  . )"; 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users