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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:28:37+00:00 2026-06-06T00:28:37+00:00

I am posting a simple form in codeigniter. When I submit the form and

  • 0

I am posting a simple form in codeigniter. When I submit the form and echo the $_POST array, it shows me the following:

Array
(
    [first_name] => First Name
    [last_name] => Last Name
    [zip] => Zip Code
    [phone] => Phone
    [email] => e-mail
    [area_interest] => 
    [terms] => terms
    [x] => 14
    [y] => 8
)

The last two fields are really mysterious. I don’t know from where they are coming.
Any ideas?

This is my form code:

<?PHP 
$attributes=array('method'=>'post');
echo form_open('request-information',$attributes);?>
<table height="180" width="220">
<tr>
    <td>
        <input type="text" name="first_name" id="first_name" class="form-text1 inputfieldform1" value="First Name" onBlur="if(this.value=='') this.value='First Name'" onFocus="if(this.value =='First Name' ) this.value=''" style="width:95px;" />
    </td>
    <td>
        <input type="text" name="last_name" id="last_name" class="form-text1 inputfieldform1" value="Last Name" onBlur="if(this.value=='') this.value='Last Name'" onFocus="if(this.value =='Last Name' ) this.value=''" style="width:95px;" />
    </td>
    </tr>
 <tr>
     <td>
       <input type="text" id="zip_code" name="zip" class="form-text1 inputfieldform1" value="Zip Code" onBlur="if(this.value=='') this.value='Zip Code'" onFocus="if(this.value =='Zip Code' ) this.value=''" style="width:95px;"/>
      </td>
     <td>
       <input type="text" id="phone_number" class="form-text1 inputfieldform1" value="Phone" onBlur="if(this.value=='') this.value='Phone'" onFocus="if(this.value =='Phone' ) this.value=''" style="width:95px;" name="phone"/>
      </td>
 </tr>
   <tr>
      <td colspan="2">
      <input type="text" name="email" id="email" class="form-text1 inputfieldform1" value="e-mail" onBlur="if(this.value=='') this.value='e-mail'" onFocus="if(this.value =='e-mail' ) this.value=''" style="width:205px"/>
      </td>
      </tr>
      <tr>
    <td colspan="2">
         <select style="width:208px; height:20px;" id="interest_area" name="area_interest" class="top2select" >
          <option value="" selected="">Select Area of Interest</option>
          <option value="Arts/Design/Fashion">Arts/Design/Fashion</option>
          <option value="aviation">Aviation</option>
          <option value="Beauty/Cosmetology">Beauty/Cosmetology</option>
          <option value="Business">Business</option>
          <option value="Communication & Mass media ">Communication & Mass media </option>
          <option value="Criminal Justice">Criminal Justice</option>
          <option value="Culinary Arts">Culinary Arts</option>
          <option value="Education">Education</option>
          <option value="Engineering">Engineering</option>
          <option value="Funeral & Mortuary Sciences">Funeral & Mortuary Sciences</option>
          <option value="Health Care">Health Care/Human Services</option>
          <option value="Hospitality">Hospitality</option>
          <option value="Interdisciplinary Studies">Interdisciplinary Studies</option>
          <option value="Legal & Paralegal ">Legal & Paralegal </option>
          <option value="Liberal Arts">Liberal Arts</option>
          <option value="Massage/ Wellness">Massage/ Wellness</option>
          <option value="Trade/Vocational">MBA</option>
          <option value="Nursing">Nursing</option>
          <option value="Sciences">Sciences</option>
          <option value="Social Sciences">Social Sciences</option>
          <option value="Technology/Computer/IT">Technology/Computer/IT</option>          
          <option value="Trade/Vocational">Trade/Vocational</option>
          <option value="undecided">Undecided</option>
           </select>
    </td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" checked="true" value="terms" name="terms">&nbsp;&nbsp;I accept <a href="#" style="text-decoration:underline">terms & conditions</a>
</td>
</td>
</tr>
<tr>

<td colspan="2" style="text-align:center">
<input type="image" src="<?PHP echo base_url();?>images/frontend/bg/search_button1.png">

</td>
</tr>

Regards,
Mrinal

  • 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-06T00:28:39+00:00Added an answer on June 6, 2026 at 12:28 am

    The X and Y variables are coming from the image input.

    These are the coordinates where the user has clicked on.

    Read here.

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

Sidebar

Related Questions

i am building a simple blog posting and commenting following the codeigniter blog tutorial
I have a simple form that I am currently posting back to the server
I have a simple form. Its got one field and a submit button. I
I am posting a very simple form using a method I have used frequently
I have dynamic form about posting room ad and first option is: Room in:
I have simple form posting to another file. The problem I'm having is with
I'm trying to do a simple echo app using Python. I want to submit
I'm trying to submit some post data form using vbscript. The site I'm posting
I've spent three days now trying to set up a simple posting form to
Got a simple form, posting to an action... the action takes the data and

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.