Hi,
I son’t know what I am doing wrong here. I have two php files, one has the data extracted from MySQL, I want to pass the variables to a second php file.
Here are the codes:
In first file
…
$dataVal1 = max($values);
$dataVal2 = ($values);
print $dataVal1.'<br />’;
print $dataVal2.'<br />’;
// Here both dataVal1 and dataVal2 prints out correctly
// Now I pass these two values to the other file like this
echo ‘<a href=”
In the second php file, I wrote:
$value1=$_GET[‘val1’];
$value2=$
But this file never gets the any data in value1 and value2.
What am I doing wrong?
Thanks in advance