How to insert variable into http:// address
Hi,
I am SUCH a beginner. I would appreciate any help you could offer. I am trying to insert a value from the database into the end of an html address:
<script type="text/javascript" src="http://www.website.com.au/graphic_current.jsp?postcode="></script>
I have the value -- in a print statement it's:
<?php echo $fieldsFormatted['field_postcode']; ?>
How do add the value of 'field_postcode' (say for example '2484') onto the end of the http like this:
<script type="text/javascript" src="http://www.website.com.au/graphic_current.jsp?postcode=2484"></script>
Thanks in advance , guys. Cheryl
|