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