Jump to content

Basics Of PHP

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
11 replies to this topic

#1
Guest_sn17_*

Guest_sn17_*
  • Guests
I dont know 1 bit about this thing. Could somebody tell me the basics of this thing?:(

#2
Guest_chaganlal1_*

Guest_chaganlal1_*
  • Guests
Look at some tutorials there are a great amount of them all over the internet, its as simple as going to google and searching for "PHP Tutorials" or if you have the funds go to amazon and order a few PHP books.

#3
Blaze

Blaze

    Programmer

  • Members
  • PipPipPipPip
  • 117 posts
What do you want to know? It is just like any other scripting language and is a whole books worth of details. Anything specific like what it does or what its used for?

#4
Guest_sn17_*

Guest_sn17_*
  • Guests
I wanna know the basic outline for this thing.

#5
getlies

getlies

    Learning Programmer

  • Members
  • PipPipPip
  • 55 posts
I'm also interested in learning the basics.
Can anyone recommend a good site to learn it step-by-step?


Many thanks

#6
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
erm, PHP (hyper text pre-processor) is a server sided web development scripting language. Its pretty powerful and probabley the most popular. Being that it is server sided you must have Apache or some other hosting utility to view the scripts. It has built in functions so it can interact with databases (mysql, ect...) hm what else...?

you start every php script with <?php and close every php script with ?>

you can find every php function at www.php.net and if you buy any book this is the first thing you will do...

<?php

echo "Hello World!";

?>

if u notice the begining and end are the same as i mentioned above. the echo statement is a means of displaying information on screen, the string is surrounded by quotes and every line (for the most part) is ended with a semi colon....i think thats the basics

#7
getlies

getlies

    Learning Programmer

  • Members
  • PipPipPip
  • 55 posts
thanks for the post
the site is great

#8
DevilsCharm

DevilsCharm

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 884 posts
The thing that discourages most people with languages is the complicated syntax. There's lots of ; , > ? ++ stuff, but it's not so (that much) with BASIC. You should start with that.

#9
Sionofdarkness

Sionofdarkness

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 384 posts
There's still some of it in BASIC, at least, when you get to the advanced levels of it.

#10
Thomas

Thomas

    Newbie

  • Members
  • PipPip
  • 15 posts
www.php.net is a great site for learning PHP as Sidewinder mentioned. I also like to visit http://www.w3schools.com/

They also have great information on PHP and a lot of other web development resources.

http://www.w3schools.com/php/ for learning PHP.

#11
DevilsCharm

DevilsCharm

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 884 posts
w3schools is great. I should go there to learn PHP. They helped me learn HTML, although I'm still not that good at it...

#12
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts

DevilsCharm said:

w3schools is great. I should go there to learn PHP. They helped me learn HTML, although I'm still not that good at it...

i didnt know how to make a table in html when i started to learn php :p