localhost Posted July 30, 2006 Share Posted July 30, 2006 Help out with this script?Code:[code=php:0]<?php/*---------------------------------------------------+| [dotOmega 0.1.0 Beta] Community System+----------------------------------------------------+| Copyright © 2006 Robert Playford| http://dotomega.com+----------------------------------------------------+| Filename: forumjump.php - 07-30-2006 - 02:55AM| File written by: Dan La Manna (Copernicus)+----------------------------------------------------*//* FORUMS TYPES1 = Category2 = Forum*/// Require necessary file(s)require_once "inc/global.php";require_once "inc/config.php";echo "<select name=\"forum_jump\">";// Select all categories...$sel_cats_for = query("SELECT * FROM `" . $config['table_prefix'] . "forums` WHERE `type` = '1'"); while ($rowcats = fetch_array($sel_cats_for)) { $cat_id = $rowcats['id']; $cat_title = $rowcats['title'];echo "<option><A href=\"showcat.php?cid=$cat_id\">-- $cat_title</a></option>";$sel_fors = query("SELECT * FROM `" . $config['table_prefix'] . "forums` WHERE `type` = '2'"); while ($rowfors = fetch_array($sel_fors)) { $for_id = $rowfors['id']; $for_title = $rowfors['title'];echo "<option><A href=\"forumdisplay.php?fid=$for_id\">Forum</a></option>";}}?></select><input type="submit" name="go" value="Go">[/code] Link to comment https://forums.phpfreaks.com/topic/16001-drop-down-box-not-oging-to-specified-links/ Share on other sites More sharing options...
localhost Posted July 30, 2006 Author Share Posted July 30, 2006 anyone? Link to comment https://forums.phpfreaks.com/topic/16001-drop-down-box-not-oging-to-specified-links/#findComment-65788 Share on other sites More sharing options...
tomfmason Posted July 30, 2006 Share Posted July 30, 2006 do you get any errors maybe you should through in a [code=php:0]or die(mysql_error());[/code] Link to comment https://forums.phpfreaks.com/topic/16001-drop-down-box-not-oging-to-specified-links/#findComment-65793 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.