Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is my javascript code............
- <script type="text/javascript">
- function openmodel(sectorid){
- $('#hdnSector').val(sectorid);
- var Id = sectorid;
- $('#myModal').modal('show');
- }
- </script>
- This is my PHP code...
- ?php
- global $wpdb;
- $variable=Id;
- $table_name = "wp_artical_area";
- $sub = $wpdb->get_results("SELECT * from $table_name where
- CAA_PARENT_ID=$variable");
- ?>
Add Comment
Please, Sign In to add comment