ok .. this is probably really easy but it's been eluding me all day.
I need to have a php file that:
- processes some variables.
- mixes the processed variables with some html code
- write the results to a file
for example i would like to define
$variable = 'some text here';
then incorporate that into some html like this.
<a href="alinkhere"><? echo "$variable";?></a>
when i use fwrite(); my output to the file looks like this
<a href="alinkhere"><? echo "$variable";?></a>
but i want it to look like this
<a href="alinkhere">some text here</a>
any ideas .. what am i missing.
thanks in advance.
chris