s251984 Posted October 21, 2013 Share Posted October 21, 2013 Hi, When I try to run phpinfo(), nothing is displayed in the browser. When I test with following code <html> <body> <?php echo "<p>Hello World</p>"; ?> <?php echo ‘<p>Order processed</p>’;?> </body></html> the output comes like this Hello World"; ?> Order processed’;?> Can you please help me to solve this issue? Thanks in Advance Jo Link to comment https://forums.phpfreaks.com/topic/283170-php-not-working-properly/ Share on other sites More sharing options...
mac_gyver Posted October 21, 2013 Share Posted October 21, 2013 what url are you entering in your browser? it should be something like http://localhost/your_file_name.php beyond that, how exactly did you obtain php and install it to run on your localhost web server? what is your localhost web server type? Link to comment https://forums.phpfreaks.com/topic/283170-php-not-working-properly/#findComment-1454864 Share on other sites More sharing options...
requinix Posted October 22, 2013 Share Posted October 22, 2013 You're also using smart quotes (around the "Order processed" message). Don't. Just regular "s and 's. Link to comment https://forums.phpfreaks.com/topic/283170-php-not-working-properly/#findComment-1454867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.