This is a discussion on Coding... within the PHP General forums, part of the PHP Programming Forums category; I am pretty new with PHP, but what I've learned in the last 3 weeks is pretty good I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am pretty new with PHP, but what I've learned in the last 3 weeks is
pretty good I think so far! What I'm looking to do is create a login script, and have people being able to login. Now, I have pulled scripts from sites, and everything is working okay. But the problem I have with pulling scripts from other sites, is that the mysql databases are all different. How can I import from one database into the other, so basically all the databases are merged into one main? I also know that each PHP file has to be re-done and look for the new database name, for instance if it was user_name, and the default (Main) database is username .. That I Have to rename all the php files that have user_name to simply username. If anyone is willing to help out with the project I'm working on with another programmer? Hopefully being very cost effective .. or free :) :) Thanks, Jeff |
|
|||
|
I'd pick up a book "Web Database Applications with PHP and MySQL",
otherwise known as the Platypus Book, and use that. That will teach you a lot about logins, sessions, as well as using MySQL and PHP together. As far as the database name goes, that has nothing to do with the PHP file name. Jeff wrote: > I am pretty new with PHP, but what I've learned in the last 3 weeks is > pretty good I think so far! > > What I'm looking to do is create a login script, and have people being > able to login. > > Now, I have pulled scripts from sites, and everything is working okay. > But the problem I have with pulling scripts from other sites, is that > the mysql databases are all different. > > How can I import from one database into the other, so basically all the > databases are merged into one main? > > I also know that each PHP file has to be re-done and look for the new > database name, for instance if it was user_name, and the default (Main) > database is username .. That I Have to rename all the php files that > have user_name to simply username. > > If anyone is willing to help out with the project I'm working on with > another programmer? Hopefully being very cost effective .. or free :) :) > > Thanks, > > Jeff |
|
|||
|
There are a lot of good books to go by. I suggest getting one that
incorporates both PHP & MySQL, not just php. On 11/18/06, Jeff <jeffsmobile@cogeco.net> wrote: > > I am pretty new with PHP, but what I've learned in the last 3 weeks is > pretty good I think so far! > > What I'm looking to do is create a login script, and have people being > able > to login. > > Now, I have pulled scripts from sites, and everything is working okay. > But the problem I have with pulling scripts from other sites, is that the > mysql databases are all different. > > How can I import from one database into the other, so basically all the > databases are merged into one main? > > I also know that each PHP file has to be re-done and look for the new > database name, for instance if it was user_name, and the default (Main) > database is username .. That I Have to rename all the php files that have > user_name to simply username. > > If anyone is willing to help out with the project I'm working on with > another programmer? Hopefully being very cost effective .. or free :) :) > > Thanks, > > Jeff > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ************************************************** ******************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ************************************************** ******************* |
|
|||
|
Jeff wrote:
> I am pretty new with PHP, but what I've learned in the last 3 weeks is > pretty good I think so far! > > What I'm looking to do is create a login script, and have people being > able to login. > > Now, I have pulled scripts from sites, and everything is working okay. > But the problem I have with pulling scripts from other sites, is that > the mysql databases are all different. > > How can I import from one database into the other, so basically all the > databases are merged into one main? > > I also know that each PHP file has to be re-done and look for the new > database name, for instance if it was user_name, and the default (Main) > database is username .. That I Have to rename all the php files that > have user_name to simply username. > > If anyone is willing to help out with the project I'm working on with > another programmer? Hopefully being very cost effective .. or free :) :) > > Thanks, > > Jeff Another book to try is "MySQL/PHP Database Applications" by Greenspan & Bulger. I've actually managed to find Brad Bulger's e-address and correspond with him. He's been quite helpful. Jeff, too |
|
|||
|
I have dreamweaver 8.
I was playing around with it, I've created the layout, and the forms for registering, and logging in, but not exactly sure on how to link it to the sql database. (Let alone create it properly)... A little hint would be greatly appreciated! Thanks for your time! Jeff ----- Original Message ----- From: Asanga Amarawansa To: Jeff Sent: Monday, November 20, 2006 4:48 AM Subject: Re: [php] Coding... if u have dreamviewer it very easy to do On 11/19/06, Jeff <jeffsmobile@cogeco.net> wrote: I am pretty new with PHP, but what I've learned in the last 3 weeks is pretty good I think so far! What I'm looking to do is create a login script, and have people being able to login. Now, I have pulled scripts from sites, and everything is working okay. But the problem I have with pulling scripts from other sites, is that the mysql databases are all different. How can I import from one database into the other, so basically all the databases are merged into one main? I also know that each PHP file has to be re-done and look for the new database name, for instance if it was user_name, and the default (Main) database is username .. That I Have to rename all the php files that have user_name to simply username. If anyone is willing to help out with the project I'm working on with another programmer? Hopefully being very cost effective .. or free :) :) Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|||
|
Jeff wrote:
> I was playing around with it, I've created the layout, and the forms for registering, and logging in, but not exactly sure on how to link it to the sql database. (Let alone create it properly)... Hop on down to your nearest Internet browser and search for the following: "php mysql tutorial", they have tons of items for you to choose from and they are super friendly and helpful. you can also try: php.net,code samples,tutorials, books, mailing list and thats in my order of preference when looking for help. |