No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
when i try to access this login page..an empty page open...please help with this coding [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Latest</title> </head> <body> <?php include("db.php"); if (isset($_POST["submit"])) { $username=$_POST["username"]; $password=$_POST["password"]; $query="select * from latest where username='$username' && password='$password'"; … |
|
i m working with sessions.. i have problem with sessions here is my coding " <?php session_register("admin_id"); if($_SESSION["admin_id"]=="") { header("location: login.php"); } ?> " i want to register a session but when i use session_register function i got error ""Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\xampp\c\admin\session_check.php on line 2"" help … |
|
i m trying to fetch a image from mysql (blob) with header..here is my coding..."<?php include("db.php"); $query=mysql_query("select * from table where id='3' "); $row=mysql_fetch_array($query); $r=$row['image']; header("content-type:image"); echo $r; ?>" i want to fetch another fields from the database....but when i try to echo another fields...the page shows error or it … |