Search results for '_GET'. 1 post(s) found.

  1. 2007/10/16 How to pass variables via url
2007/10/16 09:43

How to pass variables via url


Pass variables to a page using the question mark, for example mypage.php?value=hello.

Access these variables with the _GET command.

<?php
// for example: thispage.php?word=abracadabra

$val = $_GET['word'];
echo "the word is: $val";

?>

Another posts included in "PHP"

How to send email in PHP ? (0)2007/10/16
PHP Switch Example (0)2007/10/16
Can PHP switch in strings ? (0)2007/10/16
How to declare array in PHP like C/C++ (0)2007/10/16
PHP date and time formatting (0)2007/10/16
How to redirect browser in PHP ? (0)2007/10/16
How to get current filename as variable ? (0)2007/10/16
email validation, simple (0)2007/10/16
Trackback 3 Comment 0

Trackback : Cannot send a trackbact to this post.

  1. Subject different money making ideas

    Tracked from moneyideas 2010/01/29 05:18 delete

    moneyideas

  2. Subject different money making ideas

    Tracked from moneyideas 2010/01/29 14:04 delete

    moneyideas

  3. Subject different money making ideas

    Tracked from moneyideas 2010/01/31 16:42 delete

    moneyideas