answersLogoWhite

0

PHP is server side producing a webpage that is served to your browser.

In order to pass details to a php script you will need to send then via a form.

This can be done via a standard form with method="post" or method="get"

the variables are read by php as $_GET['var_name'] or $_POST['var_name'] with var_name being the name of the INPUT on the form.

If you omit the action (action="page2.php") then the form will post to itself (no matter what you call it) and not specifically page2.php

If you want to pass values but not refresh the page then lookup 'ajax'. Its a method of posting forms using javascript which will then wait for the result and deal with the text response. eg. OK or ERROR:email not valid

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you create a picture watermark or a text watermark on the same page?

You can do it by passing through the printer twice, just be sure to place the two watermarks on non confilicting parts of the page


Why using standard measurements is useful?

So everybody can be 'on the same page' .


How do you put detail under your question?

Unlike other question & answer sites, WikiAnswers does not have a function to put details about your question on the same page as your question appears. You can, however, add exposition and details in the Discussion area associated with every question on the site, and this is where it is recommended that such appear. WikiAnswers chose long ago to keep the question and answer page as clean as possible, but the designers knew that some questions need further details. The point here is that others can read the details you leave in the discussion area, and tailor the answer to the question, using those details. The focus remains on the question and the answer only.


What is message passing explain the advantages of message passing?

message passing is the way of exchanging information between systems or individuals,at d same time.advantage is that we can interact by getting all the necessary details


How will you find a persons details using his mobile phone number in hyderabad?

me too....searchin for the same>>>


Can you print 2 ID's at the same time using multiplier scanners?

You can print 2 ID's at the same time as long as the software you are using allows it. If there is a function that shows two ID's on the same page, then you can print it. Otherwise, you cannot.


Is it okay to use multiple h1 tags on the same page with same textI Am using two H1 tags on the same page with the same text. One H1 is for desktop, and the other is for mobile. Is it okay to use it from an SEO perspective?

si, lho sto usando anche io


How do you find 181-16 using mental math?

197


How is using a ladder diagram different from using a factor tree?

It's not really. The process is essentially the same. It's just a matter of where on the page you write the numbers.


How Can you get face-book fans?

Tell Your Freinds To Like The Page, Then Tell Them To Keep Passing It On. The Other Way Is To Pay and Get Your Page Advertised.!:)


Is passing an array to a function exactly the same as passing a pointer to the first element?

Yes it is


Same page in french?

"la même page"