Jump to content

jojomart

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jojomart's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I hope someone can help me with this I am using a directory script, but the category pull down menu in admin is not what I want. All it does is list the parent, and the child of the parent, not the child of the child. It makes it hard to find the subsubs easily this way. Some of my categories have 4 levels, but all it shows is: Parent child child child with no indentation for the different subcategories. Here's what I really want Parent - child -- child of child --- child of child of child Here is the code: #catRSelEditPage -- Recursive category select that stops when id is found /* int $idF, mysql query result $fatherR, mysql connecion $myconn */ function catRSelEditPage($idF,$fatherR,$myconn){ while($father = mysql_fetch_assoc($fatherR)){ if($father['id'] == $idF) $selected = ' selected '; if($father['fatherID'] == 0) print '<option value="'.$father['id'].'"'.$selected.'>*'.$father['title'].'</option>'; else print '<option value="'.$father['id'].'"'.$selected.'> '.$father['title'].'</option>'; $selected = ''; $sql = "select * from categories where fatherID = '" . $father['id'] . "'"; $R = mysql_query($sql,$myconn) or die(mysql_error()); catRSelEditPage($idF,$R,$myconn); }//end while }//end function Is there anyone out there who can help me, please? Thanks, Joanne
  2. Thanks very much for your kind help. I can't get any help whatsoever from the people who wrote the script. Company was sold, and the new owners are concentrating on something new - wouldn't you know! I had found the links on how to change the htaccess file, but I don't have a clue what to change in the actual php files, so I guess I'll have to stick with what I got for now. Don't have the $$ to hire a programmer. Thanks again, Joanne
  3. I am so confused LOL - hope this is the right forum to post this. I am using the PHPBazar classifieds script on my site, and I want to make the urls SEO friendly. I've tried a ton of different rewrite rules in my .htaccess file, but nothing works. http://www.a1webtools.biz/main.php is the base url. When you click on the menu item "Classifieds", and then on a category, this comes up in the browser: http://www.a1webtools.biz/classified.php?catid=1 I want to make it so when people click on the menu and then on a category it comes up as: http://www.a1webtools.biz/ (actual category id)/ At the mod_rewrite forum, the guy told me I need to make changes in the script to make mod_rewrite work, but I have no idea what to change, as I don't know php. Can someone please help me with this?  I'm about to pull my hair out  :-\ Thanks in advance, Joanne
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.