Loading ...
Sorry, an error occurred while loading the content.

Re: [OLmws] overlib don't work

Expand Messages
  • Foteos Macrides
    You are not encasing the retrieved mysql entries in php functions designed to ensure that they are suitable for use as javascript strings. Read the overlibmws
    Message 1 of 1 , Aug 4, 2006
    • 0 Attachment
      You are not encasing the retrieved mysql entries in php functions designed to ensure that they are suitable for use as javascript strings.  Read the overlibmws support documents on php / mysql db content:
       
       
      and quoting:
       
       
      Feel free to post here again if you have problems after studying that material, particularly the use of the php functions addslashes and htmlspecialchars.  If possible, include a URL for a document which illustrates the problem(s) you are having.
       
      Fote
      --
       
      ----- Original Message -----
      From: m_son666
      Sent: Friday, August 04, 2006 5:24 AM
      Subject: [OLmws] overlib don't work

      hi group,

      i use this code:

      <a
       onmouseover='return overlib(\"".$short."<br><br>".$long."\", CAPTION, \"".$name."\");'
       onmouseout=\"return nd();\"
       href='#'><img src='$mainpix.jpg'></a>

      when i fill the varis $short, $long, $name by hand ($name = "A Name";) then overlib works fine.  when the text comes from a mysql i see no popup !

      anybody knows why ?

      thanks
      m_son
    Your message has been successfully submitted and would be delivered to recipients shortly.