At 7:15 AM -0700 6/4/10, Michael Calkins wrote:
How is it used for a website then?

It's just data received by a $_GET[] (data in the url) such as:

$whatever = $_GET['ph'];
$id = $_GET['id'];

Then you can use that data (after scrubbing) to obtain data from a database, such as:

SELECT cost FROM items WHERE whatever='$whatever' AND id = '$id'

From that you could get the cost of the item and use it in your script.

This is just one way to send data from one page/script to another.




PHP General Mailing List (
To unsubscribe, visit:

Reply via email to