Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem Help Me..
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem Help Me..

 Post Reply Post Reply Page  12>
Author
farrukh View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2002
Location: Pakistan
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote farrukh Quote  Post ReplyReply Direct Link To This Post Topic: Problem Help Me..
    Posted: 16 April 2003 at 3:52am

i m going to built the directory of webmaster like ASPIN.com but i have a problem i made three tables called tblCategory, tblComponents, tblSub_Categories.

which helps me like these
ASP > Source and Scripts >> Discussion Forums
Category >> Component >> SubCategory
my database support these kind of structure but i stuck to these

What Should i do in this type?
ASP > Source and Scripts >> Counters >> Graphical >>
Do i introduce one more table for it. or what should i do

i could have more subCategories what should i do.

Help required ne database Designer here

i have collected some nice avatars (37) and smileys (227) here you can download
http://www24.brinkster.com/webmastertool/download.html
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 8:00am
As you probably don't know how many subcategories you are going to have I would not do it that way at all. Put it all in one table like follows:
Cat_ID int
Cat_Nm varchar(xx)
SubCatOf_ID int
That way, if it is a main category it has NULL as SubCatOf_ID so you display it, the you loop through the values that have SubCatOf_ID = Cat_ID and so forth. This way you save space and can have unlimited subcategories. Now depending on the database you are going to use I would encourage you to do the query in a SP which would speed up this process quite a bit. Of course there are other ways to do it but creating a table for each category is IMHO a bad idea, because you limit yourself.
Back to Top
farrukh View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2002
Location: Pakistan
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote farrukh Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 12:22pm
k micheal i will do this thanx
hey i have added 1104 scripts so far in ten days and still i m adding.

what should you recommend me please check
http://www24.brinkster.com/webmastertool/db/

pllease give some feedbacks
http://www24.brinkster.com/webmastertool/db/index.asp my new look


Edited by farrukh
i have collected some nice avatars (37) and smileys (227) here you can download
http://www24.brinkster.com/webmastertool/download.html
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 12:44pm
First I would get rid of the welcome text up top, that looks cheezy (but that's just me) The layout I think is good though i am not a friend of brown, again is a matter of taste. Be careful with adding scripts that are not yours, some developers don't want there stuff listed without their conscent
Back to Top
farrukh View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2002
Location: Pakistan
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote farrukh Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 11:53pm

i will send a username and password to the script holder. so if they dont want to show there scripts they can delete it. when ever i add the script an email is sended to the script holders so if they dont agree then they could delete it. The welcome text is nothing the site is in underconstruction so i will delete it later on. Still i change my current look. I dont the work in my Database now i can have unlimited SubCategories. thnx for that micheal.

Do you know ne ad-management script which i put in my site.

i have collected some nice avatars (37) and smileys (227) here you can download
http://www24.brinkster.com/webmastertool/download.html
Back to Top
faubo View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 May 2002
Location: Brazil
Status: Offline
Points: 560
Post Options Post Options   Thanks (0) Thanks(0)   Quote faubo Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2003 at 9:35am

I actually like the brown, but sure you should be carefull with the script thing!

If you find a javascript that highlight a word in a text, let me know!!

Back to Top
farrukh View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2002
Location: Pakistan
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote farrukh Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2003 at 12:22am
check out these http://forums.webwiz.net/forum_posts.asp?TID=1849&KW=farrukh and see my name is highlighted if you are looking to this then

add this cod to your .css
.highlighter {BACKGROUND: #CCCCCC;}

use it like <span class="highlighter">any thing </span>

if you are not looking for this kind of highlighter then i m sorry
i have collected some nice avatars (37) and smileys (227) here you can download
http://www24.brinkster.com/webmastertool/download.html
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2003 at 3:19pm
If you want to highlight results from a search I use a function which works quite well:
function doHighlight(my_sentence, word_to_highlight)
my_output = "<span style='background:yellow'>" & word_to_highlight & "</span>"
doHighlight = replace(lcase(my_sentence), word_to_highlight, my_output) 
End function
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.