Connecting MySQL with php code in WordPress
-
I am trying to follow this tutorial:
https://developers.google.com/maps/articles/phpsqlinfo_v3I have the map placed on my page, but I am trying to figure out where I need to place the .php code that inserts a row into my database? Also, where do I place the code that includes my username, password, and database name?
I tried placing these as separate php files in my themes directory, but this did not work.
Any suggestions?
Thanks!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Connecting MySQL with php code in WordPress’ is closed to new replies.