Jump to content

Sending a variable through a link


Pi_Mastuh

Recommended Posts

Or make your link:

page2.php?var1=value&var2=value&var3=value

And In page2.php

 

<?php
echo $_GET['var1'];
echo $_GET['var2'];
echo $_GET['var3'];
?>

The same like neel_basu told you but I was thinking maybe you could be confused if you need more variables.

 

Respect neel_basu! :) Please don't understand it wrong. ;)

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.