php mysql question
Posted: Tue Nov 09, 2004 11:29 am
I'm relatively new (okay, incredibly new) to php programming and have a question. I've been doing some searchs for my problem and thought I would use this as an additional outlet to get some help.
My situation....I'm designing a web page for the newspaper I work for. The site is done, but there is a login that we want to add to the page, for those subscribers that just get the paper online. We want to set up a user login that will connect to a MySQL database, and allow the users access to the content there in, while keeping out those who didn't subscribe to the online version (essentially online subscribers will have access to a pdf version of the paper, plus streaming video and such, we are not taking orders for subscriptions online using a credit card, so I'm just looking for something with database connectivity). Admittedly, I've done this before using VBScript connecting to an Access database, but am having problems with the script (I'm sick and tired of bashing my head against a wall). What I need is a layman's description of connecting to a MySQL database using php script (I'd do more searching on this, but I also am in charge of pagination and creation of display ads for said paper).
If any of you can point me in the right direction it would be extremely helpful.
Thanks in advance.
My situation....I'm designing a web page for the newspaper I work for. The site is done, but there is a login that we want to add to the page, for those subscribers that just get the paper online. We want to set up a user login that will connect to a MySQL database, and allow the users access to the content there in, while keeping out those who didn't subscribe to the online version (essentially online subscribers will have access to a pdf version of the paper, plus streaming video and such, we are not taking orders for subscriptions online using a credit card, so I'm just looking for something with database connectivity). Admittedly, I've done this before using VBScript connecting to an Access database, but am having problems with the script (I'm sick and tired of bashing my head against a wall). What I need is a layman's description of connecting to a MySQL database using php script (I'd do more searching on this, but I also am in charge of pagination and creation of display ads for said paper).
If any of you can point me in the right direction it would be extremely helpful.
Thanks in advance.