Results 1 to 3 of 3
  1. #1

    Member Since
    Mar 05, 2012
    Link Xcode 4.2 to MySQL database

    Me and my friend are making an iPhone app on Xcode 4.2 and using MAMP for the database.. How can I insert/delete and update mySQL database from text fields in the app.. What are the commands to be used in the xcode? Are we suppose to use php?

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    2012 13" MBP (2.5 i5, 8GB)
    iOS apps are written in Objective-C - PHP has no role in this unless you're creating a web app (and, given that you're using Xcode, I'm going to guess that you're not). Take a look at Apple's data management page for some assistance.

    If you're data related needs aren't all that involved, SQLite will probably suffice.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3

    Member Since
    Mar 05, 2012
    Actually its a bit large database.. Do you have the insert/delete and update commands that should be used?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to link an external dynamic library in Xcode 4?
    By mhp in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 08-09-2011, 11:22 AM
  2. PHP can't connect to mySQL database
    By CaldwellYSR in forum Web Design and Hosting
    Replies: 7
    Last Post: 06-27-2011, 06:03 AM
  3. Replies: 0
    Last Post: 10-21-2009, 08:10 AM
  4. OpenMp and XCode 3.1.2 link pb
    By Pylou in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 07-01-2009, 07:47 PM
  5. Local database to mysql
    By only1perky in forum OS X - Apps and Games
    Replies: 0
    Last Post: 02-23-2009, 03:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts