Passing a Variable in a Link


I am trying to pass a variable in a link to another page on my Wordpress site. The code I am using is:

[php]echo “

<a href=' . $row[‘report_number’] . '”" . $row[‘report_number’] . “”;[/php]

The link shows but when clicked the variable is not being sent. I am sure it has something to do with my syntax, any suggestions on what is wrong with the code.


[php]echo ‘

’ . $row[‘report_number’] . ‘’;[/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service