|
I am in the process of setting up a forum/message board website.
My hosting (easily.co.uk) has php, mysql etc - everything that’s needed
However I can’t update the mysql database remotely (ODBC, DSN connections), but I can locally through an asp/php script to update the mysql
My hosting company has limited support for php matters but has suggested I use this code:
<%
ConnString = "Driver={MySQL};SERVER=localhost;DATABASE=dbname;U ID=xxx;PWD=yyy"
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open ConnString
%>
But I don’t know where I should include the code and what the file type should be (.php?)
If anyone knows how I can use this code or even knows a better method than this to access the mysql locally, I'd be most grateful of your help.
Thanks
|