Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 136,005 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 2,383 people online right now. Registration is fast and FREE... Join Now!




What's the first PHP you write for this language.

 
Reply to this topicStart new topic

What's the first PHP you write for this language., Similar to "hello, world!" for every other language.

papuccino1
9 Mar, 2008 - 08:16 AM
Post #1

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
Newbie to PHP here.

I'd just like to learn some PHP and use it to create a sign-up page for my website. I have to use PHP and MySQL correct? smile.gif Just checking.

What would be the hello world equivalent for this language? Thanks. smile.gif
User is offlineProfile CardPM
+Quote Post

thehat
RE: What's The First PHP You Write For This Language.
9 Mar, 2008 - 08:20 AM
Post #2

D.I.C Head
Group Icon

Joined: 28 Feb, 2008
Posts: 217


Dream Kudos: 100
My Contributions
Hey, a really simple one would be:
php

<?php
echo "Hello world";
?>

User is offlineProfile CardPM
+Quote Post

papuccino1
RE: What's The First PHP You Write For This Language.
9 Mar, 2008 - 10:18 AM
Post #3

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
Hey! You're a hat!

Hehe thanks. smile.gif Now I'm going to go educate myself a bit by reading some tutorials.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: What's The First PHP You Write For This Language.
9 Mar, 2008 - 05:26 PM
Post #4

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,435



Thanked: 64 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(papuccino1 @ 9 Mar, 2008 - 11:18 AM) *

Hey! You're a hat!

Hehe thanks. smile.gif Now I'm going to go educate myself a bit by reading some tutorials.

Have a look at php.net
User is online!Profile CardPM
+Quote Post

Mikhail
RE: What's The First PHP You Write For This Language.
9 Mar, 2008 - 09:59 PM
Post #5

D.I.C Addict
Group Icon

Joined: 26 Oct, 2007
Posts: 980



Thanked: 1 times
Dream Kudos: 250
My Contributions
Yes it is a right language and is pretty easy to learn, Don't forget to check out PHP Tutorials forums, there is a lot of information in there.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 12:43PM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month