Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php require"includes/_connection.php"?>
- <?php require_once "includes/_functions.php" ?>
- <?php require_once "includes/_header.php" ?>
- <?php
- if(isset($_GET['prim'])) {
- $sel_prim=$_GET['prim'];
- }
- elseif (isset($_GET['sec'])) {
- $sel_sec=$_GET['sec'];
- }
- ?>
- </div>
- <!--COL TWO-->
- <div id="coltwo">
- <h2>Based on your search of <?php //word to go here ?> the following companies match that category...</h2>
- <?php
- if(isset($_GET['prim'])) {$category_organisations = mysql_query("SELECT * FROM `organisations_primary` WHERE `primarycat_id` = $sel_prim");}
- elseif (isset($_GET['sec'])) {$category_organisations = mysql_query("SELECT * FROM `oganisations_secondary` WHERE `secondary_id` = $sel_sec");}
- confirm_query ($category_organisations)
- ?>
- </ul>
- </div>
- <?php require ("includes/_footer.php");?>
Add Comment
Please, Sign In to add comment