Friday, 5 October 2012

Solution

Finally solved the problem I was having with my site. For the life of me I couldn't figure out how to make a category and subcategory system so I'm kind of cheating in a way. I decided I'm going to use the URL to help me using the 'GET' method in PHP. Only thing is though SQL injections are possible so I'll have to find a way to fix that. Maybe an if statement like:
if($cat == necklace || $cat == bracelet){
do code;
}
I'll think of something I suppose. It's all falling together slowly should be done in a few weeks.

No comments:

Post a Comment