Jump to content

[SOLVED] Parse error: syntax error, unexpected T_DOUBLE_ARROW


mattclements

Recommended Posts

Hey all

I am getting the following error:

Parse error: syntax error, unexpected T_DOUBLE_ARROW

 

with this code - seems like im missing something stupid!

<?php
     if( (date("d") => 08) && (date("d") < 15) )
     {
          echo "selected";
     };
?>

 

Matt

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.