note 18788 deleted from function.session-start by spic

From: Date: Mon, 26 Aug 2002 10:52:57 +0000
Subject: note 18788 deleted from function.session-start by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35635@lists.php.net to get a copy of this message
A common mistake (I found out the hard way), is to use tab/space after the <?php tag: /* this won't work */ <?php session_start(); echo "session_start() works!"; ?> The reason is that you can't send anything before the function call /* this works */ <?php session_start(); echo "session_start() works!"; ?>

« previous php.notes (#35635) next »