I know how to use POST and GET method in yii, now I want to pass the data by URL link. For example, I want the output like this: "site/index.php?var1=data1&var2=data2" and retrieve the data with $_POST['var1']. Is there any specific way to do these actions in Yii or just simply use the normal php way?
↧