I have 2 variables to send records.php, '$id' and '$row[0]". After it, I want to use them in newrecords.php with $_Get method.
Here 's index.php
echo '<td align="center">'.$row[0].'-) <a href="newrecords.php?mid=&id=' . $id . $row[0] . '"$ >'. $row[3] . " " . $row[4] .'</a></td>';
There's something going wrong.I see this url "newrecords.php?mid=&id=44" i want to see like this "mid=4&id=4" and after this
newrecords.php
if (isset($_GET['mid']))
{
$id = $_GET['mid'];
}
if (isset($_GET['id']))
{
$nid = $_GET['id'];
}
Is it right way to get them?