PHP 4.0 Bug #5201: Fatal error: call to unsupported or undefined function session_start() in /hom/

From: Date: Fri, 23 Jun 2000 08:47:20 +0000
Subject: PHP 4.0 Bug #5201: Fatal error: call to unsupported or undefined function session_start() in /hom/
Groups: php.dev 
Request: Send a blank email to php-dev+get-22151@lists.php.net to get a copy of this message
From: martinkuria@hotmail.com Operating system: linux PHP version: 4.0 Beta 3 PHP Bug Type: Misbehaving function Bug description: Fatal error: call to unsupported or undefined function session_start() in /hom/ I installed linux in my machine, and php was there so I installed it, then later on I installed mysql, but now I can connect to my mysql database through php, what could I have done wrong the error am getting is : Fatal errror: call to unsupported or undefined function session_start() /home/httpd/ff.php3 on line 7 this the code of my php program <html> <body> <?php $db = mysql_connect("localhost", "root"); if (!$db) { echo "An error occured.\n"; exit; } mysql_select_db("mymarket",$db); $result = mysql_query("SELECT * FROM employees",$db); printf("First Name: %s<br>\n", mysql_result($result,0,"first")); printf("Last Name: %s<br>\n", mysql_result($result,0,"last")); printf("Address: %s<br>\n", mysql_result($result,0,"address")); printf("Position: %s<br>\n", mysql_result($result,0,"position")); ?> </body> </html> Please assist Thanks Martin

« previous php.dev (#22151) next »