| | |
error parsing php code
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2006
Posts: 2
Reputation:
Solved Threads: 0
im working on win xp with apache 2.0.55 ,php4
when i run the code
<html>
<head></head>
<body>
abcdefrr
<br />
<?php
// print output
echo 'php code ';
?>
</body>
</html>
i get output on browser
abcdefrr
----please help me run php code embeded in html page
also the case when i run a page containing only php code then output is a blank page reply soon
when i run the code
<html>
<head></head>
<body>
abcdefrr
<br />
<?php
// print output
echo 'php code ';
?>
</body>
</html>
i get output on browser
abcdefrr
----please help me run php code embeded in html page
also the case when i run a page containing only php code then output is a blank page reply soon
•
•
Join Date: Jan 2006
Posts: 29
Reputation:
Solved Threads: 0
im working on win xp with apache 2.0.55 ,php4
when i run the code
<html>
<head></head>
<body>
abcdefrr<br />
<?php
// print output
echo 'php code';
?>
</body>
</html>
i get output on browser
abcdefrr
Of course, you would get this (abcdefrr) output on your browser because it is written in the body of your HTML code. Delete and you will not find it anymore. And, you should get these output on your browser:
abcdefrr // HTML output
php code //This is your php code output
If you will not get or display "php code" on your browser. Definitely, you have problem in your apache 2.0.55 server. Why don't you use IIS server (it is included in windows XP) and install PHP in it.
Good luck!
when i run the code
<html>
<head></head>
<body>
abcdefrr<br />
<?php
// print output
echo 'php code';
?>
</body>
</html>
i get output on browser
abcdefrr
Of course, you would get this (abcdefrr) output on your browser because it is written in the body of your HTML code. Delete and you will not find it anymore. And, you should get these output on your browser:
abcdefrr // HTML output
php code //This is your php code output
If you will not get or display "php code" on your browser. Definitely, you have problem in your apache 2.0.55 server. Why don't you use IIS server (it is included in windows XP) and install PHP in it.
Good luck!
•
•
Join Date: Jan 2006
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by rcasinillo_s
im working on win xp with apache 2.0.55 ,php4
when i run the code
<html>
<head></head>
<body>
abcdefrr<br />
<?php
// print output
echo 'php code';
?>
</body>
</html>
i get output on browser
abcdefrr
Of course, you would get this (abcdefrr) output on your browser because it is written in the body of your HTML code. Delete and you will not find it anymore. And, you should get these output on your browser:
abcdefrr // HTML output
php code //This is your php code output
If you will not get or display "php code" on your browser. Definitely, you have problem in your apache 2.0.55 server. Why don't you use IIS server (it is included in windows XP) and install PHP in it.
Good luck!
![]() |
Similar Threads
- help executing a .wav file with php code (PHP)
- Help. Parse error in PHP code (PHP)
- Parse error at last line of page's code (PHP)
- How to test PHP code in offline in Linux + Apache 2 (PHP)
- PHP code not blending with HTML (PHP)
- My embedded php code won't execute (PHP)
Other Threads in the PHP Forum
- Previous Thread: need help wid smtp server
- Next Thread: Update query (mysql)
| Thread Tools | Search this Thread |
ajax apache api array basics beginner binary bounce broken cakephp checkbox class cms code codingproblem combobox cron curl database date display dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla js limit link login loop mail menu mlm mobile multiple mysql nodes oop outofmemmory paging parse paypal pdf php problem procedure query radio ram random recursion regex remote return script search server sessions smash sms soap source space sql syntax system table tutorial up-to-date update upload url validation validator variable video web webapplications websitecontactform xml youtube





