Topic: how do i simplify this snippet? (Read 788 times)
aka J Love Community Supporter?
Bill Gates is my home boy
Gender:
Posts: 884
1636 credits Members referred : 4
« on: Feb 03, 2006, 01:25:26 AM »
what im trying to do is make the code easier to work with by stopping repition of certain lines of code. i have gotten rid of the extra ones but now when say you are user level 5 it only shows those links when it shold show all of them :
aka J Love Community Supporter?
Bill Gates is my home boy
Gender:
Posts: 884
1636 credits Members referred : 4
« Reply #7 on: Feb 06, 2006, 12:07:33 AM »
i am still wondering how to let users have more then 1 link ... as-is now i have to manually change their level to 2 and url ID to whatever it is their link will be, after they have paid.. this is slow but getting faster process anyway.. i cant figure how how i will add more then 1 value to the row "urlid" for each user if necessary
aka J Love Community Supporter?
Bill Gates is my home boy
Gender:
Posts: 884
1636 credits Members referred : 4
« Reply #9 on: Feb 06, 2006, 07:27:29 AM »
yes the links themselves, and user date (like password) are different tables..so i should get rid of current row on user table "urlid" and add new one to links table as "userid"? this will screw up the current way i have it set up lol