Hi all,
in my connect.php3 i have written
$db=mysql_connect("localhost","test","test");
mysql_select_db("db_of_mine",$db);
$sql1="select username,userPassword from MemberInfo where username='$userid' and userPassword='$password'";
$result1=mysql_query($sql1);
$num=mysql_numrows($result1);
and in another file i am including that file and setting the cookies but again "Horror" error ..
Warning: Oops, php3_SetCookie called after header has been sent in /home/avenuesw/avenuesworldwide-www/abc/tabish/editpages.php3 on line 6
I am setting cookie like this...
if($editid=="varify")
{
include("/home/avenuesw/avenuesworldwide-www/build/setcookie.php3");
if($num==1)
{setcookie("login","yes");
Where I am wrong "DONT TELL ME TO CHECK "WHITESPACES, HEADERS, AND NEWLINE BEFORE SETCOOKIE(). I have checked it already..If it is not possible this way than how ????
Please help me 🙁
Tabish