| | |
problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 3
Reputation:
Solved Threads: 0
i hav a problem
m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need
i wrote
the output is d same text above
help me
m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need
i wrote
php Syntax (Toggle Plain Text)
<html> <title>my php page</title> <body> <?php echo "hello there!"; ?> </body> </html>
help me
Last edited by peter_budo; Jan 13th, 2009 at 5:22 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Your probably not previewing the file via through the server. What testing server are you using? Make sure your url is something like with http://localhost/filename.php. Where filename.php is your file. Also make sure the file is saved in your htdocs folder.
Last edited by buddylee17; Jan 12th, 2009 at 10:01 am.
Lost time is never found again.
- Benjamin Franklin
- Benjamin Franklin
Goto sourceforge.net and get the DevPHP IDE package, will give you a LocalHost server you can run your script on as part of the package, code highlighting, context help
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
what extension have you given the file
/myfirstfile.php ? .txt .src .html may not parse
/myfirstfile.php ? .txt .src .html may not parse
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Jan 2009
Posts: 22
Reputation:
Solved Threads: 0
you might run this program directly from the browser, you need to have some web server, just install WAMP or XAMPP on your PC, if you are windows user
•
•
Join Date: Jan 2009
Posts: 11
Reputation:
Solved Threads: 1
You are not using XAMPP so try this:
Follow insallation steps and everything is gonna be OK
http://www.thesitewizard.com/php/ins...-windows.shtml
http://www.ricocheting.com/server/php.html
http://www.webmasterworld.com/forum88/4495.htm
Follow insallation steps and everything is gonna be OK
http://www.thesitewizard.com/php/ins...-windows.shtml
http://www.ricocheting.com/server/php.html
http://www.webmasterworld.com/forum88/4495.htm
![]() |
Similar Threads
- Problem with Windows Update and WinXP (Web Browsers)
- Installing Windows 98 On VMware. Floppy problem (Windows 95 / 98 / Me)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP)
- Redhat Linux 6.2 - ipop3d problem? (*nix Software)
- Problem with T720 (Cellphones, PDAs and Handheld Devices)
- Connection Problems (Networking Hardware Configuration)
- Encoding (Unicode) problem in IE 6.0 (Web Browsers)
- .htaccess mod_rewrite problem (Linux Servers and Apache)
- Javascript/HTML problem!!! (JavaScript / DHTML / AJAX)
Other Threads in the PHP Forum
- Previous Thread: How to install a new phpbb3 skin yo my forum
- Next Thread: Checking for going up a Directory
| Thread Tools | Search this Thread |
advanced alerts apache api archive array autosuggest beginner binary broken cakephp checkbox class clients cms code cron curl database date datepart display dynamic echo email emptydisplayvalue eregi error execute explodefunction file files folder form forms function functions google hack head href htaccess html if...loop image include insert ip javasciptvalidation javascript joomla keywords library limit link login mail matching menu mlm multiple mysql object oop password paypal pdf php phpincludeissue query radio random recursion recursive remote script search searchbox server sessions shot smarty source space speed sql syntax system table tutorial update upload url validator variable vbulletin video web website youtube






