Jul 20, 2008

Learning PHP - Need some assistance

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming
Pages: 1, 2

free web hosting

Learning PHP - Need some assistance

ddwyer
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

Reply

Argosoft
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

Reply

Roly
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 >_>

Reply

Xenon
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

 

 

 


Reply

hatebreed
@Xenon

thanx for the links wink.gif

Reply

cnfir
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...

Reply

SilverBoarder
THanks Dude Those sites are awsome i've been tryin to learn php for a while just couldnt find the right site

Reply

LuciferStar
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.

Reply

Xenon
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

Reply

Supaflyfrank
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://www.programmersheaven.com/zone27/index.htm their are some php tutorial that can get you started. From that website you wont need anything else from alot longer.

Reply

Latest Entries

liliano
i use http://www.pixel2life.com/main.php for online Learing

Reply

Zenchi
QUOTE(Supaflyfrank @ Aug 23 2004, 03:21 PM)
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://www.programmersheaven.com/zone27/index.htm 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.

Reply

neeki4444
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : learning, php, assistance

  1. Learning Php
    (4)
  2. Best Sites For Learning Php-mysql
    (4)
    Hi I was reminded of this earlier by a post in a topic, meant to post it but forgot and the topic on
    php books reminded me. Well anyway there is tyhschools for learning php (unless someone else knows
    a better 1) but I wan't to know what is the best site for using php with mysql (using
    phpmyadmin) also whats the difference between postgresql and mysql? though I must admit the
    postgresql version of phpmyadmin whatever it's called looks better (visually)!....
  3. What Are The Best Books For Learning Php
    Please suggest a book (5)
    I would love some recommendations on what books are most helpful for learning PHP. I know XHTML,
    CSS, some Javascript. I do know some PHP as well. Also can someone also recommend some books on
    Advanced PHP, that actually shows how to create a fully functional and somewhat complex
    website/application. (Like RailSpace does for Ruby on Rails)....
  4. Learning Php -- Where Do I Start?
    I want to learn PHP (16)
    Ok so i have been using html for about two weeks and i was wondering what PHP is and if there is a
    website that you can go to, to learn it. I heard that it is better than html but I'm not really
    sure.....
  5. Good Source For Learning Php
    (13)
    http://www.bicubica.com/ This website explains everything about PHP, right from the basics. it
    also explains about Installing apache and PHP and configuring them. The site is very useful for
    newbies and also experts.....
  6. Learning Php methods
    good books/ideas out there? (9)
    I'm looking to start learning some PHP this summer, I've got a good grip on HTML, given that
    I never read a book on it, and my friend taught me. I'm good in logic and math, and taught
    myself CSS, I only know a tad of javascript, but now I'm getting ready to go to the real stuff.
    HTML and CSS don't allow me to do enough, I want to learn PHP, but I'm not sure I can teach
    myself off of help sites anymore, this seems a bit complicated. One of my friends is learning PHP,
    too, so it will be an advantage to bounce ideas off each other. Anyway, I'm w....
  7. Complex Php Echo Statement Assistance
    Can't quite get this one, help appreciated (3)
    Can someone help me out with this one, please. I have a PHP script in which I am trying to write a
    fairly complex piece of html and I can't seem to get the coding of the PHP echo statement.
    There are single and double quotes scattered throughout this line of html and it is driving me nuts
    attempting to manage the output. So far, the only way I can get it to work is to break the
    echo'ing of the line of html code into the following lines of PHP: HTML echo "\t" ;
    echo ' li > a href ="'; echo $full_dir . $file ; echo '" alt=" full-s....
  8. Php Website Assistance?
    Help Me (1)
    Hello, i have just set up a website, and want to protect the site using login and password
    protection. Can anyone give me some PHP scripts which will keep a track of usernames and passwords,
    and add them to the access rights list. is this possible? If so, i would be much obliged if you
    would do so. Thank you. P.S If anyone needs assistance with HTML, that is my speciality, so send
    me a message. Always happy to help....

    1. Looking for learning, php, assistance

Searching Video's for learning, php, assistance
advertisement



Learning PHP - Need some assistance



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE