RSS Feed
Jul 20

Method Basic Guide

Posted on Tuesday, July 20, 2010 in guitar lessons

Method Basic Guide
PHP passing variable?

How do i pass a variable across the page using the POST method but i do not have a form. bascily instead of using the GET i wana use the post method cause i dont want people to see what the variable is at the address bar. Thanks

Regrads

http://www.visualbasicguide.com

visual basic guide

Simple. Use session variables.

Say you have a variable called $foo and you want to pass it’s value to another page.

You would use the following code on the page you are linking from:

$foo = “datatobepassed”;

session_register(“foo”);

On php code for the page you are linking to, you simply ask the tell the browser to use the value stored in the session.

if (session_is_registered(foo)) {
$foo = $_SESSION["foo"];
}

A BASIC GUIDE TO SALAH (PART11) 4 FARD

eBay Logo  

THE WOLF MARSHALL GUITAR METHOD GUIDE - BASICS 1


THE WOLF MARSHALL GUITAR METHOD GUIDE – BASICS 1


$2.50


Wolf Marshall Guitar Method: Basics 1: A Complete Guide


Wolf Marshall Guitar Method: Basics 1: A Complete Guide


$34.96


The Painter's Companion. A Basic Guide to Studio Method


The Painter’s Companion. A Basic Guide to Studio Method


$42.95


Gypsy Violin Basics: A Beginner's Guide Book/CD, Method


Gypsy Violin Basics: A Beginner’s Guide Book/CD, Method


$17.77


Gypsy Violin Basics: A Beginner's Guide Book/CD, Method


Gypsy Violin Basics: A Beginner’s Guide Book/CD, Method


$17.77


PLAY FLUTE TODAY DVD, Self-Teaching Method, Basic Guide


PLAY FLUTE TODAY DVD, Self-Teaching Method, Basic Guide


$14.77


PLAY DRUMS TODAY DVD, Self-Teaching Method, Basic Guide


PLAY DRUMS TODAY DVD, Self-Teaching Method, Basic Guide


$14.77


PLAY BASS TODAY DVD, Self-Teaching Method, Basic Guide


PLAY BASS TODAY DVD, Self-Teaching Method, Basic Guide


$14.77