"Richard Kurth" <[EMAIL PROTECTED]> wrote:
> I can not seem to get this figuered out I whant to run this function to
pull
> data out of a file and thin use the data in the rest of the program. When
I
> do this I get a Parse error: parse error in
> c:/httpd/htdocs/autosetup/auto/test.php on line 25

<snip>
> }
> getdata( )
>
> echo $domain;   <--This is line 25 which is outside of the function
</snip>

getdata(); // Don't forget the semicolon.

As a general rule, missing semicolons ";" and braces "}" on lines above
those mentioned in the error output are often culprits for parse errors.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to