|
-
Sep 9th, 2008, 10:24 PM
#1
Thread Starter
Lively Member
Is it possible to change PHP data with Mysql data?
Okay heres the setup.
I have 'email.php' that sends data via POST to: I want to know if it's possible to get "email.php" to send to a certain email, based on customer #, and email - all of which is stored in a mysql database.
I understand how to get the data into the mysql database, but what i do not understand is how to code the PHP, that reads the data from the mysql so it knows where to send the email.
For example I want a user to login and from the login panel, he can change the email address that the php code sends. -- Is this possible?
-
Sep 9th, 2008, 11:51 PM
#2
Re: Is it possible to change PHP data with Mysql data?
There are lots of examples on VBF of how to use MySQL and PHP.
There is a tutorial link in my signature that shows the basics of MySQL and how to use them with PHP
My usual boring signature: Something
-
Sep 10th, 2008, 09:11 AM
#3
Addicted Member
Re: Is it possible to change PHP data with Mysql data?
So is your question about how to read mySQL in PHP or how to process the data once you've read it?
Changes are not permanent, but change is. {Neil Peart}
-
Sep 11th, 2008, 07:35 AM
#4
Re: Is it possible to change PHP data with Mysql data?
If you go here -> http://uk2.php.net/manual/en/functio...etch-assoc.php
You will find a good example on how to connect to a database, table, search for a records and then return the value using $row['email'].
ILMV
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|