Hey guys I am confused on something. I am trying to connect to a db on godaddy that I have for my application so it can store and pull its information from else where. I'm not sure what i have to do with the syntax (sorry I'm a newb) so maybe you guys can help me out. Thx
My code so far: (mind you there is a username and password on this db)
My code so far: (mind you there is a username and password on this db)
Code:
sqlite3 *database;
if (sqlite3_open("BowlingPro.db.2337753.hostedresource.com",&database) != SQLITE_OK)
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test" message:@"Test worked" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alert show];
[alert release];
}
else
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test" message:@"Test not worked" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alert show];
[alert release];
}