PHP parse error

  • jasper
  • Beginner
  • Beginner
  • User avatar
  • Posts: 47
  • Loc: Surrey, UK

Post 3+ Months Ago

Hi,

Can anyone please tell me what the error is on this:

Parse error: parse error, unexpected '=' in /home/sites/site270/web/eduk.php(83) : eval()'d code on line 1

see it on the http://www.acorndomains.co.uk/eduk.php

Many thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

Looks like a Syntax error, somewhere in line 1 inside an eval() statement,
If you can post the the contents of /home/sites/site270/web/eduk.php(83) i'm sure someone can help you spot it.
  • jasper
  • Beginner
  • Beginner
  • User avatar
  • Posts: 47
  • Loc: Surrey, UK

Post 3+ Months Ago

Here is line 1 of the code:

<?php

function status($message) {
return "onMouseOver=\"window.status='$message'; return true;\" onMouseOut=\"window.status=''; return true;\"";
}

thanks
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

Line 83 is the issue. Post the code for line 83 of the PHP file

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 146 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.