![]() |
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 |
You have to have ; after your prints...
:
<?php |
:huh: infinite, do me a favor.
Next time im this retarded, slap me. thanks |
10 4... but only if i can use a baseball bat. ;)
|
lol, an anoying but happens error :)
|
Of course, happens ALL of the time to me in C++... and I've been coding for yearrrrrrrrrrrrrs.
|
heh, don't feel bad Berto, everybody does it.
|
I dont wasnt my error :),
My errors are normally so ridiculous that they make no sense |
| All times are GMT -5. The time now is 11:10 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC