hello friend koi mujhe bata skta ke php easy way se aur jaldi
kese seekh skte h...plz im waiting for ur answer..

Answers were Sorted based on User's Feedback



hello friend koi mujhe bata skta ke php easy way se aur jaldi kese seekh skte h...plz im waiting f..

Answer / chirag

w3 school

Is This Answer Correct ?    8 Yes 1 No

hello friend koi mujhe bata skta ke php easy way se aur jaldi kese seekh skte h...plz im waiting f..

Answer / hello

admin dashbord==
<?php
session_start();
if(!$_SESSION['userid']==1)
header("location: login.php?logout=You are not logged in to view this page");
include("database.php");

$curpwd = $_POST['curpwd'];
$repwd = $_POST['repwd'];
if(isset($_POST['Submit']))
{
$sqlpwd = "SELECT Cnd_Password FROM profiles WHERE Cnd_Id=1 AND Cnd_Password = '$curpwd'";
//echo $sqlpwd;
$respwd = mysql_query($sqlpwd);
if($rowpwd = mysql_fetch_array($respwd))
{
$sqlupdate = "UPDATE profiles SET Cnd_Password ='$repwd' WHERE Cnd_Id=1";
//echo $sqlupdate;
mysql_query($sqlupdate);
$msg = "Password has been changed";
}
else
$msg = "Password You Entered is Wrong.Please try again.";
}
?>

<?php
$cntSql = "SELECT COUNT('HJ_Id') as hjbid FROM hot_jobs";
$cntResult = mysql_query($cntSql);
$row = mysql_fetch_array($cntResult);
$hjbid=$row['hjbid'];
?>

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More PHP Interview Questions

What are different types of errors available in Php?

0 Answers  


What is an abstract class in php?

0 Answers  


Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani

0 Answers  


How to make multilanguage site in php? (like english,tamil)

2 Answers  


Why constructor is not overridden?

0 Answers  






How to set session.gc_divisor properly?

0 Answers  


How I can control asset documents without GR/IR?

0 Answers   i2U Systems, Industrial Hand Protection, Mutha Technosoft,


Is php better than python?

0 Answers  


Which is faster for or foreach?

0 Answers  


How can we upload a php + mysql Site

1 Answers  


What is smarty?

0 Answers  


Explain include(), include_once, require() and require_once?

0 Answers  


Categories