Guest User

Untitled

a guest
Oct 24th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. This is my javascript code............
  2.  
  3. <script type="text/javascript">
  4. function openmodel(sectorid){
  5. $('#hdnSector').val(sectorid);
  6. var Id = sectorid;
  7. $('#myModal').modal('show');
  8. }
  9. </script>
  10.  
  11.  
  12.  
  13. This is my PHP code...
  14. ?php
  15. global $wpdb;
  16. $variable=Id;
  17. $table_name = "wp_artical_area";
  18. $sub = $wpdb->get_results("SELECT * from $table_name where
  19. CAA_PARENT_ID=$variable");
  20. ?>
Add Comment
Please, Sign In to add comment