4M4Life.com

Having PHP problems (hope this is the right place to put this)

Offline Omega

  • *
  • 1523
  • -1
  • Psychokinetic
    • Overstand Basics
I need some serious help.
Open for art commissions! Check out my portfolio for contact info and take a look at my art gallery. Thank you. :)

<<The Land of 4M!>>

Twitter: @overstandbasics
Art Gallery: skyeomega.deviantart.com
Portfolio: http://overstandbasics.tumblr.com/post/149212339364/overstandbasicsportfolio

Offline Red

  • Elite Roleplay Moderator
  • *
  • 2743
  • -1
  • Global Executive Taco Consumer
    • YouTube Channel
Re: Having PHP problems (hope this is the right place to put this)
« Reply #1 on: May 16, 2009, 05:09:34 PM »
Well, I think it would HELP us if you explained what the problem was in better detail. =P

Offline Flashwerewolf

  • SPIDERWOLF AP: 620
  • *
  • 42318
  • 5
    • 4M4Life
Re: Having PHP problems (hope this is the right place to put this)
« Reply #2 on: May 16, 2009, 09:16:32 PM »
 :poked: Hes dead, Red.

[kata]

Offline Omega

  • *
  • 1523
  • -1
  • Psychokinetic
    • Overstand Basics
Re: Having PHP problems (hope this is the right place to put this)
« Reply #3 on: May 16, 2009, 09:44:23 PM »
When I go to preview the php file in my browser, nothing appears. I mean the code I typed is suppose to appear, but I get nothing!  [ssj]
Open for art commissions! Check out my portfolio for contact info and take a look at my art gallery. Thank you. :)

<<The Land of 4M!>>

Twitter: @overstandbasics
Art Gallery: skyeomega.deviantart.com
Portfolio: http://overstandbasics.tumblr.com/post/149212339364/overstandbasicsportfolio

Offline Red

  • Elite Roleplay Moderator
  • *
  • 2743
  • -1
  • Global Executive Taco Consumer
    • YouTube Channel
Re: Having PHP problems (hope this is the right place to put this)
« Reply #4 on: May 26, 2009, 01:17:35 AM »
Well....

I don't know!!! [ssj]

Offline kinjo

  • *
  • 30389
  • 24
  • Lavalle Lee
    • FLASHCARTOONS.ORG
Re: Having PHP problems (hope this is the right place to put this)
« Reply #5 on: May 26, 2009, 08:00:52 AM »
PHP code is not like HTML
 
php you need to have on a server which tells it to show, you cant just drag it on your browser without it being uploaded to a webpage
 
html you can preview in your browser, php not without it being hosted on a server (a server that supports php) like the server the 4m4life.com is on

Offline Whalesdude

  • I r Nab
  • *
  • 7714
  • 2
  • Ohi.
Re: Having PHP problems (hope this is the right place to put this)
« Reply #6 on: May 26, 2009, 04:53:02 PM »
Well, not exactly.. For temporary purposes, you can put the full file extention to something on your computer (Or the internet) to pull the files from. But, to keep it more organized, (When hosted) I put the files in their own rightful directories on my webhost.

And, effectively, php code IS HTML... There's just more rules and more functions when coding in it.

Also, if you don't have a header, that could be your problem, Omega.