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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:11:43+00:00 2026-06-11T09:11:43+00:00

I am having a php script and I want to send parameters to it.

  • 0

I am having a php script and I want to send parameters to it. In android I successfully use that code:

Can you help me with the equivalent code in Obj-C?

 nameValuePairs.add(new BasicNameValuePair("table", table));
         nameValuePairs.add(new BasicNameValuePair("code", Integer.toString(code)));
         nameValuePairs.add(new BasicNameValuePair("name", temp_name));
         nameValuePairs.add(new BasicNameValuePair("email", email));

I know how to fetch data from php or call a http script, I just don’t know hot to send these paramterers to php.

In php side my code is this:

$table.=$_POST['table'];
$code.=$_POST['code'];
$name.=$_POST['name'];
$email.=$_POST['email'];
  • 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-11T09:11:44+00:00Added an answer on June 11, 2026 at 9:11 am

    The proof is in the pudding: iOS: how to perform a HTTP POST request?

    I would suggest though, that you use a NSDictionary object to hold your values and JSON encode. Take the JSON data and submit it to the server. Use JSON decode within your PHP script to decode and work the results.

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

Sidebar

Related Questions

I want a PHP Quiz script which will having following features User can select
Im having a little trouble with a php script ive made. you can see
Is there anyway to send post data to a php script other than having
I've got a basic php script that runs perfect in a browser. I want
I have an index.php script that I use as a post-commit URL on a
I am having problems creating a simple PHP script. The $_GET[give] variable is always
I'm having trouble with this PHP script where I get the error Fatal error
I'm trying to translate a Perl script to PHP and I'm having trouble with
I'm building a small scale forum script in PHP, and I am having difficulty
Having php code: function getChildren($parent_id = 0) { .... return $SomeChildrenArray; } And Smarty

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.