Connect to database that isn't localhost


Posted on 16th Feb 2014 07:03 pm by admin

I am currently doing a small script for a company that doesn't have mySql support on there hosting. How would I connect to the database on my hosting account? Currently I am using the following but have tried http://www.mysite.com

$database['host'] = localhost;

No comments posted yet

Your Answer:

Login to answer
93 Like 53 Dislike
Previous forums Next forums
Other forums

Multiple WHILE loops help
Hi there. I'm writing an application that is pulling and displaying results for real estate listing

Secure FTP
Hi experts,
There is no SFTP action in MII workbench.
This means it needs developing custo

PL/SQL: ORA-00947: not enough values error message
Hi all i am getting Error(25,63): PL/SQL: ORA-00947: not enough values error message when executing

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

simple ping code
been searchin the site/web and found code thats simple but doesnt work.

I have a personal we

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

Combining refCursors and Summing
Given the following DDL:

CREATE TABLE FOODSALESTEST ("WEEKNBR" NUMBER, "ST

Collecting AOL Search Terms
I am attempting to collect AOL search terms. I know the code is correct (it works for google, bing,

Pagination
Hi All,

I think I'm finally getting somewhere with pagination!

I can now submit a quer

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash