Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Learning Php -- Where Do I Start?, I want to learn PHP
dtuhy
post Feb 24 2007, 02:49 AM
Post #1


Member [Level 1]
****

Group: Members
Posts: 65
Joined: 9-February 07
Member No.: 38,515



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.
Go to the top of the page
 
+Quote Post
street
post Feb 24 2007, 06:08 AM
Post #2


Super Member
*********

Group: [HOSTED]
Posts: 255
Joined: 21-January 07
Member No.: 37,585



Yes it is true php is way better than html a good site to look for tutorials is Pixel 2 life the hub of all tutorials on any software you can think of.
Go to the top of the page
 
+Quote Post
electriic ink
post Feb 24 2007, 10:49 AM
Post #3


Incest is a game the whole family can play.
Group Icon

Group: [MODERATOR]
Posts: 1,227
Joined: 11-February 05
From: Heaven
Member No.: 3,709



PHP is a bit harder to learn than html but the hard work pays off when you realise all the things that you can do with it. You can write scripts that send emails, create your own shoutbox as well as lots of other things. Ever seen pages with urls like page.ext?id=1. That's done with php!

I found the website below really helpful when starting:

http://www.w3schools.com/php/php_syntax.asp

As you progress, you will probably want to research functions for yourself rather than using tutorials all the time. To view the complete list, click below:

http://uk.php.net/quickref.php

Best of luck learning an invaluable scripting language!
Go to the top of the page
 
+Quote Post
shadowx
post Feb 24 2007, 11:33 AM
Post #4


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
***********

Group: [HOSTED]
Posts: 1,035
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



Hey there!!! Glad to know php is still interesting to new scriptwriters!

What you will first need is a php server, you can have this on your own computer so easilly, check out http://www.apachefriends.org/en/xampp.html for the package called XAMPP and of course download and install it depending on which operating system you use. The installation guide will take you through that easily. the idea is that with PHP you have to have it on a server, this usually means you have to upload it to a webhost which is really annoying but XAMPP basically makes your computer able to run PHP files and almost gives you your own server to play with. The guide included with XAMPP should explain.

if you want you can check out the tutorial i wrote on my own website here: http://www.shadows.trap17.com/tutorials/beginner_tut.php It starts from the absolute begging and was aimed at people who aren't sure of what PHP means and what it is and how its used, its definitely not the best tutorial in the world but i think for beginners its very good, by the end you will be able to understand how to write php and a few of the key rules of it.

Otherwise use the links posted above.

In addition to getting XAMPP i recommend you get MPSOFTWARE's PHP Designer at: http://www.mpsoftware.dk/phpdesigner_personal.php this FREE so long as you take the PERSONAL version, this only means you cant sell the scripts you write. And its such a small download. The idea is that this program works like a text editor but for code, so when you make a new document you choose the language its in, probably PHP, and if you type in a function it will show you how to finish it, and it will always add in quote marks and brackets to make sure you dont accidentally miss them. Very nice!

I think ive rambled enough here! I would definitely take a look at all the links in the above posts and in mine of course! and definitely get the software i suggested, ive used it for about a year now and not one problem. Then once you get php and HTML down then you can make yourself a website for real.
Go to the top of the page
 
+Quote Post
Imtay22
post Feb 24 2007, 02:06 PM
Post #5


Super Member
*********

Group: [HOSTED]
Posts: 299
Joined: 27-January 07
From: Winter is cold here.
Member No.: 37,984
Spam Patrol



OK, theres Brainbench, and W3 Schools. I personly used W3 Schools, but i've heard brain bench was pretty good, too. You can also get certifications from them for $60 US (W3 Schools) and $50 US (BrainBench). Thats what I used for my php. (i use php, look at the sig) so php is really good. You might want to go here. It's http://www.php.net.


~Imtay22
Go to the top of the page
 
+Quote Post
cwconline
post Feb 25 2007, 05:40 PM
Post #6


Member [Level 1]
****

Group: Members
Posts: 60
Joined: 25-February 07
From: Somewhere Your Not! Well... Maybe your here. Who Knows?
Member No.: 39,197



QUOTE(dtuhy @ Feb 23 2007, 09:49 PM) *
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.



Yeah, Only 2 weeks... i would learn all the html you can... it takes some time to learn php... but it is easier and more simplier for example

say you have a ad and you use iframe to show that ad instead of saying <iframe src="ad/whatever.html" width="?" height="?"></iframe> you can just say

CODE
<?php
include "ad/whatever.html";
?>


it makes coding a lot easier as well...

because you can set variables in php

ex.)
CODE
<?php
$email = "EMAIL(a)whatever.com";

echo "$email";
?>


which echo means you are going to be displaying it on the page which $email echoed would be the same as in the $email = mark...

Later Dude,

Notice from electriic ink:
When posting code, please use code tags. Code tags added.


This post has been edited by electriic ink: Feb 25 2007, 07:01 PM
Go to the top of the page
 
+Quote Post
noriv
post Mar 26 2007, 06:11 PM
Post #7


Newbie [Level 3]
***

Group: Members
Posts: 40
Joined: 26-March 07
From: Iceland
Member No.: 40,668



PHP is much better than HTML but it isn't as simple. This forum wouldn't exesist if there was no PHP or language like that.
Go to the top of the page
 
+Quote Post
monarch
post Mar 27 2007, 04:32 AM
Post #8


Newbie [Level 1]
*

Group: Members
Posts: 11
Joined: 27-March 07
Member No.: 40,692



I have been editing html for a year or so and when I came across a free php cms that was it...Hooked for sure
I really like the whole database thing and have since been learning how to edit the files to my liking. And have found myself at the php.net website. Well if you decide to install a server locally with mysql apache php phpmyadmin pearl check out Apache Friends xampp
Go to the top of the page
 
+Quote Post
Burke
post Apr 7 2007, 04:08 PM
Post #9


Newbie [Level 1]
*

Group: Members
Posts: 24
Joined: 6-April 07
Member No.: 41,169



I am in the same tree dthuy is. The only difference is that i know a little mroe about html as i did a course on it about 3 years ago. I am jsut starting out in php. I am going to check out all of the above though and try to learn as much as i can, cause i really want to have a good looking website.