User Image
Posts: 1562, Threads: 71
Last Activity: 22-05-12 09:42 AM

Teen Forums - Teen Chat, Teen Help, Teen Advice & Support


If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Computers, Gaming and Technology Teens chat and get advice about gaming, computers, technology and more.

Reply
Old 31-08-10, 04:46 PM   #11
Account Closed Upon Request
My Mood:  Busy
 
Name: Michael
Gender: Male
Join Date: Sep 2008
Location: UK
Posts: 21,693
Default Re: Very Basic PHP Lesson

I dont myself, I would end up with a right mess to turn the PC onto. I would rather close the lot and start a fresh.

By the way, this tutorial will only show you how to print hello world to the browser, so it isnt much at all. The XHTML and CSS ones will show a lot more for your time.
Michael is offline   Reply With Quote
Advertisement
Old 31-08-10, 04:48 PM   #12
FangBanger
 
DanielaPereira's Avatar
My Mood:  Sleepy
 
Name: Daniela Pereira
Gender: Female
Join Date: Jan 2010
Location: Leiria, Portugal
Posts: 14,579
Default Re: Very Basic PHP Lesson

that's okay i am glad in printing hello. that will mean i know something










<3
DanielaPereira is offline   Reply With Quote
Old 31-08-10, 07:55 PM   #13
 
Mits's Avatar
 
Join Date: Aug 2010
Posts: 79
Default Re: Very Basic PHP Lesson

Quote:
Originally Posted by DanielaPereira View Post
that's okay i am glad in printing hello. that will mean i know something
lol...yeah
Mits is offline   Reply With Quote
Old 25-10-10, 05:26 PM   #14
nvm
 
nvm's Avatar
My Mood:  Bored
 
Name: Hector
Age: 19
Gender: Male
Join Date: Nov 2009
Location: Guatemala
Posts: 47
Default Re: Very Basic PHP Lesson

uhm sorry... where's the lesson??
nvm is offline   Reply With Quote
Old 26-10-10, 04:34 AM   #15
Account Closed Upon Request
My Mood:  Busy
 
Name: Michael
Gender: Male
Join Date: Sep 2008
Location: UK
Posts: 21,693
Default Re: Very Basic PHP Lesson

I never got round to it but will as soon as I have more time to do it.
Michael is offline   Reply With Quote
Old 26-10-10, 05:31 PM   #16
nvm
 
nvm's Avatar
My Mood:  Bored
 
Name: Hector
Age: 19
Gender: Male
Join Date: Nov 2009
Location: Guatemala
Posts: 47
Default Re: Very Basic PHP Lesson

Quote:
Originally Posted by Michael View Post
I never got round to it but will as soon as I have more time to do it.
That's ok. I just want to contribute with the sample hello world lesson:

Code:
<?php
print ("Hello World");
?>
or

Code:
<?php
echo ("Hello World");
?>
or using a variable:

Code:
<?php
$message="Hello World";
echo("$message");
?>
Of course your php file must be placed on your web server's public folder (usually public_html or htdocs, check your httpd.conf if using apache)
nvm is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 03:07 PM. Powered by vBulletin®
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.







TeenForumz will never have pop-up or annoying ads. Thanks for NOT supporting us!