FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP beginner help!!!





imagefree
Hi friends!
I am into this field for just last 3 months (app.) and i dont know any language at all but i am a good learner and i want to start learning PHP and MYSQL at this time.

What do you suggest?
( i mean which book of well known companies like ORILLEY etc do you recommend. please name the book here. I cant join short courses classes because of lack of time.)

1 more thing is 2 months back i tried to start learning PHP but i faild to understand how can i run PHP script on my pc. I download php setup, installed but nothing happened. (i am using XP)

Hope you help
THanks
DjinniFire
I would say start with the manual
http://us2.php.net/manual/en/index.php

to get the gist of what the program of PHP. This will allow you to understand the basics of most programming languages. (Usually learning a basic language first makes learning the real programming languages faster. And when I mean basic, I mean as basic as TI-BASIC that you find on TI-83/84 calculators, or other of their models that have programming capabilities)

So start with the PHP manual then books really depend on what you seek and the version of PHP and MySQL you use. Some books are geared towards teaching how to make CMS's or how to do this and that or how to program games and such.

I currently use
Quote:
PHP and MySQL Web Development (4th Edition) (Developer's Library) (Hardcover)
by Luke Welling (Author), Laura Thomson (Author)


as my reference tool but it's the only PHP and MySQL book that I own and it helps but it's not as great as I had hoped. (Really only get this if your server uses PHP5 and MySQL 4.1 or 5 otherwise the coding doesn't work properly all the time and this book requires a DEEP understanding of class and objects because almost every code they make uses class and objects when there are other methods that are easier to understand, but they never provide alternative codes (not using object/classes) for the PHP connection to MySQL)

One of my online friends used
Quote:
Beginning PHP and MySQL 5: From Novice to Professional, Second Edition (Paperback)
by W. Jason Gilmore (Author)

and it's actually a pretty good book, so I've heard. But I suggest the big red book such as
Quote:
Beginning PHP5, Apache, and MySQL Web Development (Programmer to Programmer) by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, and Jeremy Stolz


That one I think is really good, I never read it but a lot of my online friends use it.
snowboardalliance
I learned with http://hudzilla.org/phpwiki/index.php?title=Main_Page

Very good online book. It has everything from the manual and more, but it is geared toward beginners so it does not sound quite as technical and overwhelming as the php.net manual is at first.
imagefree
snowboardalliance wrote:
I learned with http://hudzilla.org/phpwiki/index.php?title=Main_Page

Very good online book. It has everything from the manual and more, but it is geared toward beginners so it does not sound quite as technical and overwhelming as the php.net manual is at first.



means it is specially written for beginners?
deathseaker
There is no hope! lol im just kidding. PHP isnt the best language to learn for a bigginer but its easier then alot of languages Id day to be truthful buy a book rather then online one because (this is me atleast) I cant fidn the time to read a whole book on the PC (I got 2 jobs, a brother who uses the same PC, and i fall asleep when readign at the PC if its confusing lol)

By php5 for dummies or Sam's Teach Yourself PHP in 24 hours (this wont teach u the mysql part of it) but most of the sql stuff u can find and learn online within hours if not under an hour
jabapyth
tizag.com is good, so is w3schools.com
powers1983
snowboardalliance wrote:
I learned with http://hudzilla.org/phpwiki/index.php?title=Main_Page

Very good online book. It has everything from the manual and more, but it is geared toward beginners so it does not sound quite as technical and overwhelming as the php.net manual is at first.


I can second this - it is a proper book (as in printed) too and I learnt PHP from it. It gets you to the stage that you can make your own scripts and if you want to do something more advanced you have enough of a grounding to go and find the function you need on the php.net site.
Certainly for a beginner I have not found a better resource and I looked for quite a while.

As for getting PHP, MyQSL installed then the easist by far is to download something like WAMP (Windows, Apache, MySql, PHP) and you just basically double click and it does the rest. It is not suitable for a 'live' setup cos some of the defaults are not secure but it is perfect for a development environment (as in learning on).

http://www.wampserver.com/en/

You will find that once you get the basics of PHP it is quite easy to understand and the syntax (how it is written) is fairly similar to a lot of other languages (like C) so the learning curve is not that bad.

Hope that helps.

David.
flatliner
imagefree wrote:


1 more thing is 2 months back i tried to start learning PHP but i faild to understand how can i run PHP script on my pc. I download php setup, installed but nothing happened. (i am using XP)



Best thing to do is download WAMP5 it is a server package which you can run and PHP and mysql scrpits on, comes complete with myphpadmin and everything. Its helped me learn php and mysql so much faster!!! Very Happy
Manofgames
I learnt php and mysql at http://www.tizag.com
Their tuts are very informative, and easy to understand.

The PHP manual is a good source of reference, but its not quite as user friendly for beginner's, as far as I know.

I'd also sugget the same thing as flatliner, that you get a localhost ( http://www.wampserver.com ) which is very easy to install, includes php and mysql and allows you to create and test php scripts easily.

EDIT: Also do what Fireboar suggests with the php function reference.

PHP looks really hard when you look at say the PHPBB script, but there really aren't that many different elements to it at all.
Fire Boar
I second that. Tizag gives you an excellent grounding in PHP from which you can build. I learned to use PHP by first reading the Tizag tutorial, then looking up the functions I felt would be beneficial by searching the manual on php.net and clicking on a likely result. You'll be surprised how effective this can be!
imagefree
ohhhhhhhh GOD!!!!!! i visited http://www.wampserver.com but everything there is in a strange language. They (i think) ask to fill a form but i cant understand what to fill in. Can someone help me downloading the software?
One more thing is i think software would also be in that strange language, which may make it useless for English.


Thanks for your help FRIENDS

Many peopl told me that PHP is net a beginner's language. You have to learn C, some say C++, or Java etc but i think i should start learning it right now. What you say ..
MrBlueSky
imagefree wrote:
ohhhhhhhh GOD!!!!!! i visited http://www.wampserver.com but everything there is in a strange language. They (i think) ask to fill a form but i cant understand what to fill in. Can someone help me downloading the software?


Try this URL: http://www.wampserver.com/en/index.php (no need to fill in a form here) Wink

The software is in English
MJMX
imagefree wrote:
ohhhhhhhh GOD!!!!!! i visited http://www.wampserver.com but everything there is in a strange language. They (i think) ask to fill a form but i cant understand what to fill in. Can someone help me downloading the software?
One more thing is i think software would also be in that strange language, which may make it useless for English.


Thanks for your help FRIENDS

Many peopl told me that PHP is net a beginner's language. You have to learn C, some say C++, or Java etc but i think i should start learning it right now. What you say ..


omg didn't you noticed english flag in left upper corner? You should allways check for those, if language is strange in default
imagefree
I read some of tutorials (just 3-4 pages) on W3C and i realised that it is much similar to C language ( even C is more strict). I already have a beginner's knowledge of C, so i think i can learn it.

But the problem of server is still there. I have heared most about Apache. So, i want to use it on my PC. Can someone tell which server is installed on FRIHOST server 2?
imagefree
MJMX wrote:
imagefree wrote:
ohhhhhhhh GOD!!!!!! i visited http://www.wampserver.com but everything there is in a strange language. They (i think) ask to fill a form but i cant understand what to fill in. Can someone help me downloading the software?
One more thing is i think software would also be in that strange language, which may make it useless for English.


Thanks for your help FRIENDS

Many peopl told me that PHP is net a beginner's language. You have to learn C, some say C++, or Java etc but i think i should start learning it right now. What you say ..


omg didn't you noticed english flag in left upper corner? You should allways check for those, if language is strange in default



thanks!!! i didnt noticed because i was looking for Flags on the top and bottom corners Very Happy
Manofgames
PHP is not a server as such, it is merely an 'add-on' for Apache and other webservers.

As PHP is one of the most commonly used (and easiest to learn) web programming languages on the internet, nearly every single webhost (bar most windows servers) have support for PHP.
Naturally, Frihost will support php.

As you said, PHP is a really simple version of C, (the php add-on is actually written in either C or C++ I think)

God Luck

Alex
Fire Boar
And Apache is used almost everywhere, because it's so damn good! (And free.) Can you guess what server Frihost uses? Apache it is.
markblu
I learned PHP on my own. Me and my friend just went at it and created a pretty bad a** (excuse my language) role playing game. It's a pretty easy to learn language especially if you've already done work in javascript, or any other language basically.
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.