Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7042661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:11:43+00:00 2026-05-28T02:11:43+00:00

I will admit, I don’t know much about PHP and have google’d around for

  • 0

I will admit, I don’t know much about PHP and have google’d around for an answer but haven’t had much luck in finding anything to suit my needs. I have however managed to create a simple connection script and login/authentication script to my server for my iOS app. I have a table in the MySQL database which holds a list of events and was wondering what would be the best way to populate cells using the values from this table.

I already have the UITableView set up, and have managed to get it loading data from a local array all to the right places on the custom cell.

I am able to @echo the results of all of the table back, but what would be the best way to go about populating each cell with one row of the table?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:11:44+00:00Added an answer on May 28, 2026 at 2:11 am

    It’s good idea to use JSON to transfer data. PHP should have JSON support as well.

    This is library for iPhone: https://github.com/stig/json-framework/

    You need:

    1. Using PHP get data from the database
    2. Produce JSON-encoded array in PHP script
    3. Read this data using NSURLConnection on iOS device
    4. Parse received data from JSON to Obj-C objects (using the library above)

    This is not so easy to learn fast, but there is a lot of examples in the Internet and this is good practice for sure. Learned once – helps forever.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've to admit that I don't know much about functional programming. I read about
I admit...I am posting this question because I still don't have an answer to
I admit it is not the best title, but I don't know how to
Okay I will first admit I don't know the proper terminology for all this
In core.php I can define Configure::write('Routing.admin', 'admin'); and /admin/controller/index will work. but if I
Will I have to pay again? I have about 9 months left before renewal
When I have a php error it will go through like 5 folders to
I admit that I don't follow much of anything right on deploying test versus
I don't like models.User, but I like Admin view, and I will keep admin
First of all, I will admit I am a novice to web services, although

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.