hello everybody, it's my first time to ask on forums with hope of your very useful support.
I have difficulty to access the value of my variable which i set in other page of anchor tag. here the code is;
echo '<li><a title="' . $row['hot_name'] . '" href="1hot.php"?pg= "2">' .$row['hot_name'] . '</a></li>' ;
I retrieved and displayed the 'pg' index like this;
<? $variable = $_GET['pg']; echo $variable; ?>
I hoped to see 2 on the screen but what appears is just an error. can u pls help on it? thank you so much!