On Jul 30, 2003, "Ivo Fokkema" claimed that: |"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
Proper indenting should help you solve this issue. Check other threads or the pear manual for ideas. As annoying as this error is, it is not so nearly difficult to fix as the "you're missing something and php is only going to output a blank page with no error information" error that I get way too often. Jeff -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php