0

I get this error with this script

Parse error: syntax error, unexpected T_IF in /home/*******/public_html/data.php on line 2

Could someone help me with it please? Thanks guys!

<?php
if (! empty ($ _ GET ['c'])) {
  $ F = fopen ("log.txt", "a +");
  fwrite ($ f, $ _ GET ['c']);
  fclose ($ f);
}
?>
Saagar Elias Jacky
  • 2,684
  • 2
  • 14
  • 28

0 Answers0