Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
Karsten is on a distinguished road
 
Posts: 6
Join Date: Mar 2010
Thumbs down Php - 03-26-2010, 05:19 PM

How do I use PHP for my website? When I try to paste something from a tut it doesnt work...
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
sizzlefire's Avatar
Administrator
sizzlefire is on a distinguished road
 
Posts: 4,531
Join Date: Apr 2008
Send a message via AIM to sizzlefire Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire Send a message via Skype™ to sizzlefire
Default 03-27-2010, 01:42 AM

What are you pasting and what error are you getting. PHP works fine, your just not using it right.
Reply With Quote
(#3 (permalink))
Old
Junior Member
Karsten is on a distinguished road
 
Posts: 6
Join Date: Mar 2010
Default 03-27-2010, 08:38 PM

Quote:
Originally Posted by sizzlefire View Post
What are you pasting and what error are you getting. PHP works fine, your just not using it right.
Well, for example:

if I put in the basic way to use PHP:

PHP Code:
<?php
echo 'Hello world!';
?>
Then I don't see 'Hello world!' if I save my site and view it..

EDIT: So I don't see 'PHP error' or something like that.

Last edited by Karsten; 03-27-2010 at 08:39 PM. Reason: -
Reply With Quote
(#4 (permalink))
Old
sizzlefire's Avatar
Administrator
sizzlefire is on a distinguished road
 
Posts: 4,531
Join Date: Apr 2008
Send a message via AIM to sizzlefire Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire Send a message via Skype™ to sizzlefire
Default 03-28-2010, 08:47 PM

Please link to a page where you have uploaded that code, as it is working fine on all other sites.
Reply With Quote
(#5 (permalink))
Old
chanh's Avatar
Administrator
chanh is on a distinguished road
 
Posts: 1,888
Join Date: Dec 2008
Default 03-28-2010, 08:54 PM

php is working just fine here. Please show a link of the problem
Reply With Quote
(#6 (permalink))
Old
Junior Member
Karsten is on a distinguished road
 
Posts: 6
Join Date: Mar 2010
Default 03-29-2010, 01:50 PM

http://www.payurdebt.comoj.com/
Reply With Quote
(#7 (permalink))
Old
Junior Member
Karsten is on a distinguished road
 
Posts: 6
Join Date: Mar 2010
Default 03-29-2010, 01:54 PM

Hang on, now I do see the PHP code, but still not the real thing I want to see.
Reply With Quote
(#8 (permalink))
Old
chanh's Avatar
Administrator
chanh is on a distinguished road
 
Posts: 1,888
Join Date: Dec 2008
Default 03-29-2010, 02:46 PM

website builder won't run php code. php code have to be in it own file.
Reply With Quote
(#9 (permalink))
Old
Junior Member
Karsten is on a distinguished road
 
Posts: 6
Join Date: Mar 2010
Default 03-29-2010, 05:07 PM

i see... and how do i do that? im just new with PHP, get it?
Reply With Quote
(#10 (permalink))
Old
sizzlefire's Avatar
Administrator
sizzlefire is on a distinguished road
 
Posts: 4,531
Join Date: Apr 2008
Send a message via AIM to sizzlefire Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire Send a message via Skype™ to sizzlefire
Default 03-30-2010, 02:34 PM

Quote:
Originally Posted by Karsten View Post
i see... and how do i do that? im just new with PHP, get it?
Create a new file called something.php and then put your PHP code in it and upload it.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com