Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parse error for some reason...

Status
Not open for further replies.

Hawkrz

Technical User
Aug 16, 2002
7
US
Hey, i'm getting the following error:
Parse error: parse error, expecting `','' or `';'' in /hsphere/local/home/mizuno/harrypotter.wiffler.com/news/newsscript.php on line 25

you can look at the phps file at
It seems to me there is nothing wrong with line 25, any clues as to what the error could be?

Hawkrz
 
In your line 19, you are not closing the quotes in the echo call.

Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Ooooo ok thanks, all fixed, just a couple more bugs to go...
 
why don't you use a PHP editor. That will change the color of the code and you can see the sintaxe errors easily ... it only took 10 seconds too se a wrong color in your code and 5 more to see where the bug was.
Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
A few questions then. First off, what php editor do you use and where can i get it. Second off, whats wrong here:

i'm getting the following error:
Warning: Supplied argument is not a valid MySQL result resource in /hsphere/local/home/mizuno/harrypotter.wiffler.com/news/newsscript.php on line 14
Little help? thx

Hawkrz
 
Scratch that, i've got it all fixed up, the code is in working order :D thanks for all ur help!
 
i use Macromedia HomeSite or the PHPEd.

The Homesite is not free, but phped is. Just google for PHPEd download, and you get a few pages ... :) Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top