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 9009587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:14:19+00:00 2026-06-16T02:14:19+00:00

I have a properly coded HTML page that I can display in my app.

  • 0

I have a properly coded HTML page that I can display in my app.

The file is embedded locally inside the app, but it pulls in data from an API.
It is a Rest API that works with PHP.

So my question now is – is it possible to have NSString inject it’s value into the php file so that it can display the required result, or are PHP and Objective-c not designed to do that??

  • 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-16T02:14:21+00:00Added an answer on June 16, 2026 at 2:14 am

    If you are looking to actually parse and execute PHP in your iOS app, I am afraid you are probably out of luck.

    If you simply want to dynamically update certain elements on a static HTML page and leverage a PHP service to do it, your best bet is probably to use javascript and AJAX to put the dynamic content from the service.

    Alternatively, you can treat the HTML file like a template, make a call to the PHP service to get the dynamic content; merge that content into the template and display the template.

    I guess what is most appropriate in your case, will ultimately depend on your desired user experience.

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

Sidebar

Related Questions

I have the following code that generates my form on my html page <input
I have an HTML page that has Javascript code. It needs to be rendered
I have a property in my backing bean that returns html code: public String
I have the following line of code that executes properly except for one hitch.
I have a page that uses a .post to submit to my cfc. I
I have 2 DIVs on an HTML page: <div id=divDebug /> <div id=divResult />
So, I have a DIV full of four HTML buttons that use an image
I have the following Javascript/jQuery on my page: <script> $(#mymarkdown).load(./LPInfo.md); var md = markdown.toHTML($(#mymarkdown).html());
I have a multi page form that I am trying to implement on my
i have made a toolbar using links placed inside listitems but the problem is

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.