Example #1
0
"></div>
                                                                    </td>
                                                                    <td align="center">
                                                                        <a href="javascript:;" onClick="get_frm('edit_product.php','<?php 
        echo $row["rec_id"];
        ?>
','dive<?php 
        echo $row["rec_id"];
        ?>
','')">
                                                                        <img src="images/Modify.png" alt="Edit" title="Edit" border="0">
                                                                        </a>
                                                                    </td>
                                                                    <td align="center">
                                                                      <?php 
        if (checkCountAvailable($row['rec_id']) == 1) {
            ?>
 <span class="red">Count Exists!!</span><?php 
        } else {
            ?>
                                                                      <a href="javascript:;" onClick="get_frm('delete_product.php','<?php 
            echo $row["rec_id"];
            ?>
','divd<?php 
            echo $row["rec_id"];
            ?>
','')">
                                                                      <img src="images/Delete.png" alt="Delete" title="Delete" border="0"></a><?php 
        }
        ?>
                                                                    </td>
Example #2
0
?>
"></div>
                                                                    </td>
                                                                    <td align="center">
                                                                        <a href="javascript:;" onClick="get_frm('edit_product.php','<?php 
echo $row["rec_id"];
?>
','dive<?php 
echo $row["rec_id"];
?>
','')">
                                                                        <img src="images/Modify.png" alt="Edit" title="Edit" border="0">
                                                                        </a>
                                                                    </td>
                                                                    <td align="center">
                                                                      <?  if(checkCountAvailable($row['rec_id'])==1){?> <span class="red">Count Exists!!</span><? } else { ?>
                                                                      <a href="javascript:;" onClick="get_frm('delete_product.php','<?php 
echo $row["rec_id"];
?>
','divd<?php 
echo $row["rec_id"];
?>
','')">
                                                                      <img src="images/Delete.png" alt="Delete" title="Delete" border="0"></a><? } ?>
                                                                    </td>
                                                                </tr>
                                                    <?
                                                         $sno++;
                                                        }	
                                                    ?>         
                                                        </table>