Jump to content

[SOLVED] Just installed wamp, new to php


opeboyal

Recommended Posts

I am reading php5 for dummies and I just installed Wamp because i don't have a dedicated machine and I don't want to pay... whatever.. anyways heres my questions.

 

Here is my code.

 

<html>

<head>

<title>PHP Test</title>

</head>

<body>

<p>This is an HTML line

<?php

echo “This is a PHP line”;

phpinfo();

?>

</body>

</html>

 

This is saved as index.php and when i goto localhost it displays

 

Parse error: parse error, expecting `','' or `';'' in C:\wamp\www\index.php on line 8

 

Is this a php error or server side?  This is the very first example in the book.  WTF!

Thank you for all your help

Link to comment
https://forums.phpfreaks.com/topic/167802-solved-just-installed-wamp-new-to-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.