Bluehost.com Web Hosting $6.95

Coding...

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-19-2006
Jeff
 
Posts: n/a
Default Coding...

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
Reply With Quote
  #2 (permalink)  
Old 11-19-2006
John Meyer
 
Posts: n/a
Default Re: [PHP] Coding...

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

Reply With Quote
  #3 (permalink)  
Old 11-19-2006
benc11@gmail.com
 
Posts: n/a
Default Re: [PHP] Coding...

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.
************************************************** *******************

Reply With Quote
  #4 (permalink)  
Old 11-20-2006
Jeff Mullen
 
Posts: n/a
Default Re: Coding...

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
Reply With Quote
  #5 (permalink)  
Old 11-20-2006
Jeff
 
Posts: n/a
Default Re: [PHP] Coding...

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




Reply With Quote
  #6 (permalink)  
Old 11-20-2006
clive
 
Posts: n/a
Default Re: [PHP] Coding...

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.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0