Jump to content

GET request help


Recommended Posts

How can you set "$_GET" to get mutiple things at once?

 

I know what i just said wasn't clear so i will demonstrate what i hope to achieve.

 

Upon activating the application;

 

$dt1 = $_GET['DATA'];

$dt2 = $_GET['DATA2'];

$dt3 = $_GET['DATA3'];

 

now if i got to the link where the php script is hosted at i have to do

index.php?DATA2=test

 

for it to get test as the value of DATA2.

 

The problem is i want to get DATA,DATA2,DATA3 all at once.

and obviously this wouldn't work

index.php?DATA=dat1?DATA2=dat2?DATA3=test

 

any ideas?

Link to comment
https://forums.phpfreaks.com/topic/157562-get-request-help/
Share on other sites

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.