Jump to content

[SOLVED] Help on this simple code please ...


Recommended Posts

hi

 

I wrote this code, but it is not working

 

<a href=\"#\" onMouseOver=\"ajax_showTooltip('raju.php?id='.$i.'',this);return false\" onmouseout=\"ajax_hideTooltip();\" class=".$date_class.">".$i."</a></td>

 

I want to pass the value of $i on popup, but it is not working

 

can u please help on it..

 

ajax_showTooltip('raju.php?id='.$i.'',this)

 

in the bold part...

 

thnks a lot

Link to comment
https://forums.phpfreaks.com/topic/68669-solved-help-on-this-simple-code-please/
Share on other sites

i am writing this inside php tag, this code is inside ECHO

 

<?php echo "<td class=".$class_bg.">
         <table width=\"25\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\">
         <tr>
              <td> </td>
              <td align=\"right\" valign=\"top\" class=".$date_class.">
		  <a href=\"#\" onMouseOver=\"ajax_showTooltip('raju.php?id='.$i.'',this);return false\" onmouseout=\"ajax_hideTooltip();\" class=".$date_class.">".$i."</a></td>
              <td  style=\"width:3px\">";
   $_SESSION['mydate']= $i;
      echo " </td>
     </tr>
           <tr>
           <td colspan=\"3\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
              <tr>
               <td colspan=\"2\" style=\"height:8px\"></td>
              </tr>
             
           </table></td>
         </tr>
         </table>
        </td>";?>

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.