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

  • SEARCH
  • Home
  • 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 8154879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:30:07+00:00 2026-06-06T16:30:07+00:00

i am developing an iphone app that receive data from sql server through php

  • 0

i am developing an iphone app that receive data from sql server through php file in JSON format , it work fine when test it on safari browser, also i used SBJSON framework
to develop the JSON in my app ,i received the data in my app but in wrong format like this :

["الدرس الثالث عشر - المؤقت - UIDatePicker ","الدرس الثامن - الانتقال من صفحه لاخرى - UISwipeGestureRecognizer","الدرس الاول - مقدمة لتطوير تطبيقات الايفون - introduction to Xcode ","الدرس الثاني - إنشاء أول تطبيق على الايفون - create your frst app in iphone ","الدرس الثالث - استخدام حقل المدخلات - Using of JTextField in Xcode ","الدرس الرابع - استخدام العداد في برمجة الايفون - Using UIslider and UIstepper ","الدرس الخامس - استخدام الصورة و السويتش - Using UISwitch and UIImageView ","الدرس السادس - عمل اله حاسبة للايفون ج١ - Create Calculator for iPhone part 1 ","الدرس السادس - Create Calculator for iPhone part 2 - عمل اله حاسبه للايفون ج٢ ","الدرس السابع - عرض الملفات على صفحة ويب - Loading PDF,PPT on UIWebview ","الدرس التاسع - متصفح انترنت للايفون - web browser for iphone ","الدرس الثامن - الانتقال من صفحه لاخرى - UISwipeGestureRecognizer","الدرس العاشر - مغّير القيم - UISegmentedControl","الدرس الحادي عشر - خلايا الجداول - uitableviewcell & uinavigationcontroller","الدرس الثاني عشر -التاب بار - UITabBarController"]

the other problem when i try to parse it , it gives me null result

  NSString *url = [[NSString alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://localhost:8888/newjson.php"] encoding:NSUTF8StringEncoding error:nil];

SBJsonParser *parser = [[SBJsonParser alloc] init];
listt = [parser objectWithString:url];

listt (NSArray)

  • 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-06-06T16:30:09+00:00Added an answer on June 6, 2026 at 4:30 pm

    You should start by passing an NSError * to your URL fetch function to look for an error.

    The JSON you posted is valid (though the strings appear to be HTML-encoded for some reason). What happens if you NSLog the value of listt? The value of url?

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

Sidebar

Related Questions

I am developing an iphone app that needs to parse data received from server.
I have been developing an iPhone app which queries a server that relays data
I am developing an iPhone app that would send emoticons from iPhone to server-side.
We are developing an iPhone app that would send emoticons from iPhone to server-side
I'm developing an iPhone app. I've got a function that reads data from a
We are developing an iphone app that needs to process audio data in real
I am developing an iphone app that uses a php web service for all
I'm developing an iPhone app that switches from a table view to a landscape
Alright, here we go! I am currently developing an iPhone app that will work
I'm developing an iPhone app that is connected to a backend server. It needs

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.