Jump to content

Parse error: syntax error, unexpected 'id' (T_STRING), expecting ']' in C:\xampp\


Lingo

Recommended Posts

Hello fellow PHP Enthusiasts if you could help me with this I would apprieciate it very much.

 

Error:

 

Parse error: syntax error, unexpected 'id' (T_STRING), expecting ']' in C:\xampp\

 

 

Code:

 

  <?php
          
          if(!empty($_POST['id'])){
         $id = $_POST['id'];          
          $arf=getStatistics($id);
 }
            ?>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.