Jump to content

strange line of code

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
probashi

probashi

    Newbie

  • Members
  • Pip
  • 3 posts
Hello All,

I'm getting a strange line of code on one of my page when I view the source code on the browser.
It’s right at the top - this is the line: <!-- P[9.75] W[0] I[3] Z[0] -->
I cannot remove it since I do not know where it is coming from
I’m testing the site/page on Localhost (iis)
Any help appreciated – many thanks

#2
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
Your not giving us much information on how to find it for you. It's just an HTML comment so nobody else will see it. If it is at the very top though it could mess up your HTML validation which may not be an issue for you.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Without knowing how the HTML is generated, it's impossible to determine how it got there.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
probashi

probashi

    Newbie

  • Members
  • Pip
  • 3 posts
Thanks guys for your reply. Found the problem:

'For debug purposes, write shipping data as hidden HTML
Response.Write vbCrlf & "<!-- P[" & totalShipPrice & "] W[" & totalShipWeight & "] I[" & totalShipItems & "] Z[" & locShipZone & "] -->" & vbCrlf

This was also messing up the layout of the site. Now fixed


Thanks both

#5
technica

technica

    Learning Programmer

  • Members
  • PipPipPip
  • 63 posts
sounds great. good work