php dynamic link help
Posted: Mon Mar 24, 2008 12:18 am
hello all and thank you for your help with the community,
i'm kinda stuck and need some help.. let me begin by telling you what i want to do and then i'll ask you how i should approach the task...
i'm creating a website that will have video tutorials on 3d design... none of these videos will be user submitted all of them will be submitted by me.
i have all of the site coded except for the video section... what i want to do is have a rank table.. like say 0=guest, 1=registered, 2= gold member.
i want a page that will display all of the videos but only those that match the current users rank will be clickable. please look at this site to explain what i'm talking about.
http://movielibrary.lynda.com/html/modPage.asp?ID=560, if you look at that page you will see that some videos you can view and some you cannot untill you login.
all the videos will be stored in mysql with prolly about 3-4 fields: vid_id, title, src, catagory. when the link is clicked it will call the video by id and play it in a pop-up. but some videos can only be seen by gold members. i already have a pretty good login script being used. the current login script uses sessions and mysql.
how should i go about creating this video section... i dont neccesarilly need code but more a run down of what should take place. but code would also be nice... i cant afford much but i would be willing to pay some money if i needed to... i thank you for your time reading this and your time of solving my problem...
thank you,
Edanlee
i'm kinda stuck and need some help.. let me begin by telling you what i want to do and then i'll ask you how i should approach the task...
i'm creating a website that will have video tutorials on 3d design... none of these videos will be user submitted all of them will be submitted by me.
i have all of the site coded except for the video section... what i want to do is have a rank table.. like say 0=guest, 1=registered, 2= gold member.
i want a page that will display all of the videos but only those that match the current users rank will be clickable. please look at this site to explain what i'm talking about.
http://movielibrary.lynda.com/html/modPage.asp?ID=560, if you look at that page you will see that some videos you can view and some you cannot untill you login.
all the videos will be stored in mysql with prolly about 3-4 fields: vid_id, title, src, catagory. when the link is clicked it will call the video by id and play it in a pop-up. but some videos can only be seen by gold members. i already have a pretty good login script being used. the current login script uses sessions and mysql.
how should i go about creating this video section... i dont neccesarilly need code but more a run down of what should take place. but code would also be nice... i cant afford much but i would be willing to pay some money if i needed to... i thank you for your time reading this and your time of solving my problem...
thank you,
Edanlee