Connecting Tech Pros Worldwide Forums | Help | Site Map

what the heck??

Michael Bradley-Robbins
Guest
 
Posts: n/a
#1: Jul 17 '05
I have written a program that prints out all the values from a mysql
database. I am using PEAR to help me along, btw. Anyway, whatever I do,
there is an error that says "PHP Parse error: syntax error, unexpected
$end". Evidently, it doesn't like my PHP closing tag, which is placed at the
very end of my code. What the heck is wrong?



Alvaro G. Vicario
Guest
 
Posts: n/a
#2: Jul 17 '05

re: what the heck??


*** Michael Bradley-Robbins escribió/wrote (Sun, 13 Feb 2005 12:04:35
-0800):[color=blue]
> Anyway, whatever I do, there is an error that says "PHP Parse error:
> syntax error, unexpected $end". Evidently, it doesn't like my PHP
> closing tag, which is placed at the very end of my code. What the heck
> is wrong?[/color]

Apparently, there's a syntax error in your code.


--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Manda tus dudas al grupo, no a mi buzón
-+ Send your questions to the group, not to my mailbox
--
Geoff Berrow
Guest
 
Posts: n/a
#3: Jul 17 '05

re: what the heck??


I noticed that Message-ID: <110vcmge4ol110e@corp.supernews.com> from
Michael Bradley-Robbins contained the following:
[color=blue]
>I am using PEAR to help me along, btw. Anyway, whatever I do,
>there is an error that says "PHP Parse error: syntax error, unexpected
>$end". Evidently, it doesn't like my PHP closing tag, which is placed at the
>very end of my code. What the heck is wrong?[/color]

Errors at the end often mean there is a missing brace or bracket.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Closed Thread