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
    Early 2015 13" rMBP
    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 macOS - Development and Darwin
    Replies: 0
    Last Post: 08-09-2011, 10: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, 05:03 AM
  3. Replies: 0
    Last Post: 10-21-2009, 07:10 AM
  4. OpenMp and XCode 3.1.2 link pb
    By Pylou in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 07-01-2009, 06:47 PM
  5. Local database to mysql
    By only1perky in forum macOS - Apps and Games
    Replies: 0
    Last Post: 02-23-2009, 02: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