Posted by IWP506 on 10/26/75 11:33
vdP wrote:
> Brian wrote:
> > I wrote this script here but I cannot get the script to save to the
> > correct month.html. Can someone tell me what is wrong with this code?
> >
> <SNIP CODE>
> > <?php
> >
> > $fp = fopen("$_POST['month'] . ".html","a+");
>
> There are five quotes(") here. I can hardly imagine that is right.
>
> vdP
Yep, make it:
$fp = fopen($_POST['month'] . ".html","a+");
iwp506
Navigation:
[Reply to this message]
|