"Chrstian Brensteiner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> whats the best option to get more information about a failure in your
sorce
> code ?
>
> whenever i get failures that are situated at the very end of my script how
> do i get to know wherer they start?
>
> now i have get from apache + php  this return
>
> Parse error: parse error, unexpected $ in
> c:\programme\easyphp\www\cms\procede_presse.php on line 268
>
> 268 is the last line of my script how to deal with those failures in an
> intelligent way?
Getting these errors at the last line in your script generally means that
you omitted a closing '}'.

So when you would do :

<?php
function something () {
  print ("done");
?>

You will get a similar error. Check all of your functions and
if/else/foreach/ etc. structures for an omitted '}' to fix your script.\

Good luck!

--
Ivo Fokkema
PHP & MySQL programmer
Leiden University Medical Centre
Netherlands



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to