I am using heidisql to create my mysql databases. How do i connect to those databases from the website I'm using. I need to be able to change the databases from the website. I am writing the website in php and writing the program that interacts with the databases in python. Can anyone help me? Thanks
views:
114answers:
2
A:
You can interact directly with the database using PHP's builtin MySQL functions: PHP MySQL Docs
Alternatively, you can write all of the database interaction in Python, then have your PHP website call those Python scripts, using PHP's system function.
Gary Pendergast
2009-01-02 03:38:25
+1
A:
You can use the PHP's MySQL functions. Or you can use the PEAR DB package, it makes things much easier. If you don't already use PEAR you will have to install it first.
Christian Toma
2009-05-23 18:16:27