Created
December 2, 2018 09:52
-
-
Save arif98741/34ab1835805aa6736f01905f4d6e5063 to your computer and use it in GitHub Desktop.
Get data By $_GET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="view.php?id=<?php echo $id;?>&&date=<?php date('Y-m-d')?>">View Page</a> | |
<!-- and get data in view.php file like below --> | |
<?php | |
if (isset($_GET['id']) && isset(_GET['date'])) { | |
$id = $_GET['id']; | |
$date = $_GET['date']; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment