It is currently Tue Jul 22, 2025 3:40 pm

All times are UTC - 5 hours



Forum rules


1.) No trolling. If you cant have fun without being a jerk to others, find some other forum to QQ
2.) No inappropriate/vulgar/sexually explicit posting. Staff reserves the right to deem anything they see fit as inappropriate.
3.) Have fun and don't post anything not geared at having fun!
4.) Please respect staff members and their decisions at all times. If you cannot accept a staff or moderator decision, please appeal to admin Seth.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Php help
PostPosted: Wed Jul 07, 2010 11:09 am 
First Lieutenant
First Lieutenant
User avatar
 Profile

Joined: Sun May 31, 2009 11:17 pm
Posts: 634
Gender: male
Anyone can mentor me a few basics ? :P!


Top
 

 Post subject: Re: Php help
PostPosted: Wed Jul 07, 2010 11:32 am 
Captain
Captain
User avatar
 WWW  Profile

Joined: Thu Sep 17, 2009 8:58 am
Posts: 813
Location: Retired from BD, on my own site.
Gender: male
www.w3schools.com


Enjoy my friend, it helped me learn so much..

_________________
Nothing to be found here. Just walk on.


Top
 

 Post subject: Re: Php help
PostPosted: Wed Jul 07, 2010 12:06 pm 
First Lieutenant
First Lieutenant
User avatar
 Profile

Joined: Sun May 31, 2009 11:17 pm
Posts: 634
Gender: male
I looked there....thats where i got my question...when it says to write
Echo "hello world"
i copy/pasted it and when i open it on my browser it shows nothing,just blank...

so i dont know if i am doing something wrong anyway... :(


Top
 

 Post subject: Re: Php help
PostPosted: Wed Jul 07, 2010 4:52 pm 
Captain
Captain
 Profile

Joined: Tue Jun 02, 2009 1:51 am
Posts: 661
Gender: male
PHP is a server side scripting language - you can't just type it into your browser directly.

Either download PHP from the website and execute your scripts via the command line, or host and execute the code on a website/external server.

_________________
The Lemon-Coloured* forum Demi-God!

The Battle Dawn Staff:
Working with you, to make and maintain
the very best browser based game!

*Lemon-Flavoured, according to Andrew...


Top
 

 Post subject: Re: Php help
PostPosted: Wed Jul 07, 2010 5:33 pm 
Captain
Captain
User avatar
 Profile

Joined: Tue Feb 16, 2010 6:56 pm
Posts: 867
Location: Chicago
Gender: male
lol you gotta make a Hello World for that too? I had to make one for Java

_________________
Hero of War Alliance leader and Original Founder
I am a Hero of War
Image


Top
 

 Post subject: Re: Php help
PostPosted: Thu Jul 08, 2010 11:07 pm 
Major
Major
User avatar
 YIM  Profile

Joined: Fri Apr 23, 2010 7:06 pm
Posts: 3544
Location: Philippines
Gender: male
ZeR47 wrote:
lol you gotta make a Hello World for that too? I had to make one for Java

lol...anyway...I know PHP...

What You Need First:
1. A PHP-Enabled Comp or a Server WITH PHP.
2. A Sense of Logic ;) (You need HTML and JavaScript understanding)

So...it's like this
Code:
<?php

echo "Hi!";

?>


It will be ez to understand if u programmed Windows Batch Files before.

Note: You can only view this online. u know...via upload...

There's also variables...
Code:
<?php
$imavariable = "Ronel A. Manata";
//Notice how I used comment. Notice also the use of semi-colon..
//It was inherited from Javascript.

Echo "Hi! I'm " . $imavariable;
//Notice the period!
//It means you are using two blocks of texts [strings] together
?>


------------
Oh...if you want to practice w/out uploading the files, use this.
http://www.wampserver.com/en/download.php

Just follow the instructions XD

_________________
In case you REALLY wanted to contact me.
Image


Top
 

 Post subject: Re: Php help
PostPosted: Fri Jul 09, 2010 4:17 am 
First Lieutenant
First Lieutenant
User avatar
 Profile

Joined: Sun May 31, 2009 11:17 pm
Posts: 634
Gender: male
this sure helps a little... thx :P


Top
 

Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Copyright Tacticsoft Ltd. 2008   
Updated By phpBBservice.nl