Ray's Coding
Welcome to Ray's free coding forum! Here we help people learn to code, and share knowledge of coding.

Please feel free to sign up and begin your learning,teaching or sharing adventure!
Ray's Coding

Ray's coding forum for teaching, sharing, and learning.
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 [TuT] Echo [TuT]

Go down 
AuthorMessage
Ray
God Ray
God Ray
avatar

Posts : 36
Code Tokens : 19143
Join date : 2013-05-02
Age : 20
Location : North America

PostSubject: [TuT] Echo [TuT]   Wed May 08, 2013 3:38 am

PhP Echo



Hey guys, today I'm going to show you how to make a string in PHP using the "echo" command. Lets get started.

First off we need XAMMP or a webhost to try this out on, I recommend using a webhost like 000webhost, ((Free host here)) . Register or Login to view. if you don't already have XAMMP installed. I might later publish a tutorial on how to install XAMMP.

Ok, now we need a text editor I recommend Dw (Dream Weaver) or Notepad++. But yes, a simple notepad will work also!

Now, that we have all our acquirements nessecary to perform this, let's get to the real coding.

First off you're going to need to start and end your PHP using this:

PHP Code:
Code:

<?php

?>

You will place your PHP code inbetween that.

Now, we will make our string using the echo. Like so:

PHP Code:
Code:

<?PHP

echo 'This is a string.';

?>
Great, so far our code should look like this:
Code:

PHP Code:
<?php

echo 'This is a string.';

?>

Now, if you would save that as "String.php" and veiw it in your webhost or your XAMMP local host. It would show up as "This is a string." in the top left hand corner of the browser.


Last edited by Ray on Wed May 08, 2013 5:56 pm; edited 1 time in total
Back to top Go down
View user profile http://rayscoding.forumotion.com
iBloom



Posts : 2
Code Tokens : 18994
Join date : 2013-05-08

PostSubject: Re: [TuT] Echo [TuT]   Wed May 08, 2013 5:54 am

WOW This IS Useful THANKS! :DDDDDDDD
Back to top Go down
View user profile
Tom.



Posts : 5
Code Tokens : 19000
Join date : 2013-05-08

PostSubject: Re: [TuT] Echo [TuT]   Wed May 08, 2013 11:17 am

Ray, Please send a link to download the webhost. Smile Thanks
Back to top Go down
View user profile
Ray
God Ray
God Ray
avatar

Posts : 36
Code Tokens : 19143
Join date : 2013-05-02
Age : 20
Location : North America

PostSubject: Re: [TuT] Echo [TuT]   Wed May 08, 2013 5:57 pm

Tom. wrote:
Ray, Please send a link to download the webhost. Smile Thanks

The thread has been re-updated with the link to a free hosting site.
Back to top Go down
View user profile http://rayscoding.forumotion.com
Sponsored content




PostSubject: Re: [TuT] Echo [TuT]   

Back to top Go down
 
[TuT] Echo [TuT]
Back to top 
Page 1 of 1
 Similar topics
-
» General Echo & U U Madoo - Stereo Phonic Live Session (1977)
» BLACKSTAR V ECHO VIBRATION
» Stereophonic 1980 General Echo,Madoo,Colonel Flux,Goatie
» Jah Observer l/s RDK: Southend
» Stereophonic 1980 General Echo,Madoo,Colonel Flux,Goatie

Permissions in this forum:You cannot reply to topics in this forum
Ray's Coding :: Coding :: PHP-
Jump to: