Log in

View Full Version : Javascript questions... What Is The Best Option?



Byronwells
03-03-2010, 01:53 AM
Alright guys

I have spoken to my different coder and they tell me that I should use some sort of java/javascript...

I am using a membership script. I would like to modify the add categories page.. At the moment it only allows me to do create a main category.. I would like to change this to be able to add sub categories..

I have create the extra tables on my db.. But now I need to know how to link them together and what javascript script would you recommend...??

Nile
03-03-2010, 01:55 AM
Javascript can't access dbs - PHP can...

Byronwells
03-03-2010, 01:58 AM
Javascript can't access dbs - PHP can...

So what have people be talking about then?? Now I am confused

Nile
03-03-2010, 02:20 AM
I dont know - can you explain your project just like you explained it to them. Maybe I can understand what they're trying to lead you towards.

Byronwells
03-03-2010, 02:26 AM
I dont know - can you explain your project just like you explained it to them. Maybe I can understand what they're trying to lead you towards.

Sure...

I am using a membership script.. Under admin setting there is a section where I am allowed to add categories to the site.. At the moment the standard format only allows me to add a parent/main category.

I would like this to be changed so that I am able to sub categories to the parent/main categories if I so wish..

So that I can have this format

2010 (main)
mar (sub)
feb (sub)

I have been told that I need to create a new table on the db, lets called it subcategories so that I can store the sub categories information..

Also because I wish to be able to choose multiple categories when I am adding a product to the site, I will need to create another table, called subtrack, to track all the categories..

I have created both tables, with the information that I have been told to..

Now I am onto the stage where I need to link them altogether and then to display it on the add categories page..

Nile
03-03-2010, 02:31 AM
Nope... that would definitely be PHP

Byronwells
03-03-2010, 02:34 AM
Nope... that would definitely be PHP

I dont suppose you know any? lol

Nile
03-03-2010, 02:34 AM
I do. :)

Byronwells
03-03-2010, 02:38 AM
I do. :)

Could You Help?:D:D:D

Nile
03-03-2010, 02:46 AM
Haha - sure. This seems like a big project. How about you send me an email?
http://localhostr.com/files/ce12d8/capture.png

Byronwells
03-03-2010, 02:49 AM
Haha - sure. This seems like a big project. How about you send me an email?
http://localhostr.com/files/ce12d8/capture.png

Just done so :) :)