B
Big Dix
I am dealing with three different database files. If the user (me) chooses
to edit File 1 it opens File1.csv and so onfor File 3
But File three needs to written in a different format then File 1 and File
2.
My question is about line 4
I am getting an error. Why and what am I doing wrong that I am missing?
any ideas?
Thank you
1 $NextEntry = $perp_year;
2 if ($perp_mon < 10) { $NextEntry .= "0"; }
3 $NextEntry .= "$perp_mon";
4 if (($perp_day < 10) && ($editfiles = "File 3")) { $NextEntry .= "0"; }
5 $NextEntry .= "$perp_day\n";
6 elsif ($perp_day < 10) { $NewEntry .= "0"; }
7 $NewEntry .=
"$perp_day|$INPUT{'Add'}|$URL|$INPUT{'address'}|$INPUT{'city'}|$INPUT{'state
'}|$INPUT{'zip'}|$INPUT{'phone'}|$INPUT{'time'}|$INPUT{'FullText'}\n";
to edit File 1 it opens File1.csv and so onfor File 3
But File three needs to written in a different format then File 1 and File
2.
My question is about line 4
I am getting an error. Why and what am I doing wrong that I am missing?
any ideas?
Thank you
1 $NextEntry = $perp_year;
2 if ($perp_mon < 10) { $NextEntry .= "0"; }
3 $NextEntry .= "$perp_mon";
4 if (($perp_day < 10) && ($editfiles = "File 3")) { $NextEntry .= "0"; }
5 $NextEntry .= "$perp_day\n";
6 elsif ($perp_day < 10) { $NewEntry .= "0"; }
7 $NewEntry .=
"$perp_day|$INPUT{'Add'}|$URL|$INPUT{'address'}|$INPUT{'city'}|$INPUT{'state
'}|$INPUT{'zip'}|$INPUT{'phone'}|$INPUT{'time'}|$INPUT{'FullText'}\n";