First, forgive my lack of php knowledge, but I am a designer who has been tasked with some minor php work...
* I have a php page with an iframe including a php form.
* I have set a variable in the url of the iframe src attribute like so: <iframe src="mailForm.php?pageSubject=Fundraising"></iframe>
* I need to output this variable within a declared variable value in the mailForm.php file:
$subject = "Enquiry about $pageSubject"
* I am able to echo the variable in the php page like this:
<?php echo $_GET['pageSubject']; ?>
How can I output that variable within the text string of $subject?