<?
ob_start();
session_start();
Require("config.inc.php");
mysql_select_db($db) ;
$result = mysql_query("select * from table") or die ("Err Can not to result") ;
?>
ในส่วนหัวสุดเลยครับผมใช้แบบนี้อ่ะครับมันขึ้นว่า
Warning: Cannot send session cache limiter - headers already sent (output started at c:\appserv\www\xxx\index.php:6) in c:\appserv\www\xxx\login.php on line 3