Current location: Hot Scripts Forums » Programming Languages » PHP » Trying to learn PHP


Trying to learn PHP

Reply
  #1 (permalink)  
Old 06-16-04, 01:55 PM
mlitney mlitney is offline
New Member
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Trying to learn PHP

Hi, I'm pretty new to programming in general and was wondering if anyone could help me out with a few newb questions? I would like to write some simple code as I'm learning and I have dreamweaver but it doesn't seem to be working for me. I create a new PHP project and type my code, then I try to preview in browser but only html shows up. Is there something I haven't configured, cause I have no idea why it isn't working. I have DreamweaverMX 2004 and am using Windows XP.

I know its probably something that would seem stupid to a seasoned programmer but I would appreciate any help, thanks!
Reply With Quote
  #2 (permalink)  
Old 06-16-04, 04:46 PM
Worm's Avatar
Worm Worm is offline
Newbie Coder
 
Join Date: Jun 2004
Location: Germany, Frankfurt am Main
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mlitney
Hi, I'm pretty new to programming in general and was wondering if anyone could help me out with a few newb questions? I would like to write some simple code as I'm learning and I have dreamweaver but it doesn't seem to be working for me. I create a new PHP project and type my code, then I try to preview in browser but only html shows up. Is there something I haven't configured, cause I have no idea why it isn't working. I have DreamweaverMX 2004 and am using Windows XP.

I know its probably something that would seem stupid to a seasoned programmer but I would appreciate any help, thanks!
I doesnt seem stupid, it just seems not knowing... the preview can just show the html code as long you dont have a webserver running on your local machine, php enabled... php is a server-sided language, means it is processed at the servers php engine and then sent back to the browser, but just html code. So you will either have to load every script up to some internet provider who provides php to make a preview or you will have to install apache + php on your local computer. There are some packages (WAMP environments) -> Windows, Apache, MySQL, PHP like PHPtriad which consists of just one installer for all 3 features... you should try it...
Reply With Quote
  #3 (permalink)  
Old 06-16-04, 06:25 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
Code Guru
 
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
Another thing I might add trying is Zend Studio, it's available for demo at http://www.zend.com/store/products/zend-studio-beta.php . This comes with a debugger installed in it. It's more like a real programming environment.

It also happend to be made by the people who helped develop php.
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
Reply With Quote
  #4 (permalink)  
Old 06-16-04, 08:03 PM
mlitney mlitney is offline
New Member
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thx for the info, greatly appreciated
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
Best PHP tutorials fantasyscripter PHP 8 06-03-04 10:35 PM
What should i learn PHP or ASP.NET donkon PHP 5 04-04-04 03:04 AM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 12:31 AM
How to convert php generated pages to SE friendly HTML or PHP(SE friendly) -CLASS 101 crippled PHP 1 11-16-03 06:37 AM


All times are GMT -5. The time now is 05:02 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.