Jump to content

What is ?= And How do I Use It?


Warptweet

Recommended Posts

Does anyone know what putting something like ?flashpage=1 at the end of my page does?

Does anyone know a link to some tutorials that explain this in depth?

 

with what you have typed you could put this in a php file and get the value "1"

www. yourdomain . com?flashpage=1

<?php
$test = $_GET['flashpage'];
echo $test; //will print out "1" if ?flashpage=1
?>

Its called a query string. A query string is just a collection of variables that hold temporary data which will be used for the page you are currently on. You can access the variables in the query string in the url by using the $_GET variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.