Thread: Parse Error
View Single Post
Old Sep 7th, 2004, 5:49 PM   #1
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
i get this error:

Parse error: parse error, unexpected '}' in C:\Program Files\Apache Group\Apache2\htdocs\Name.php on line 4

this is the beginning of the script:

1. <?php
2. if ( isset ( $name ) ) {
3. print "<h1>".$name."</h1>"
4. } else {
5. print "<h1>"."Hello! Type in your name!"."</h1>"
6. }
7. ?>


whats wrong
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote