Give help. Get help.

  • # February 1, 2010 at 8:51 am

    Hi all

    I’m stuck here and I can’t figure this one out.
    I have an <li> and when I hover over it, it appends a div called <div id="popup"></div>. I would like this popup to show the id that has been fetched from my mysql SELECT further down in the body.

    This code shows kinda what I would like to do, but knows that this is never possible.


      < ?php $q = mysql_query("SELECT * FROM text"); while($r = mysql_fetch_assoc($q)){ $id = $r['id']; echo '
    • ‘.$r[‘indhold’].’‘;

    I hope someone understand what I’m trying to do, and can help me out here.

    Thanks in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.