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 is used for tmp table in oracle?

0 Answers  


How can php and javascript interact?

1 Answers  


Explain me what is the importance of "method" attribute in a html form?

1 Answers  


How to submit form without a submit button.

1 Answers  


What is the function file_get_contents() usefull for?

1 Answers  


What is csrf validation?

1 Answers  


List some string function name in php?

1 Answers  


What is stripslashes php?

1 Answers  


Is php still relevant 2019?

1 Answers  


Which function is used in php to search a particular value in an array?

1 Answers  


What is the best way to test the strpos() return value in php?

1 Answers  


What is difference between strstr() and stristr() in PHP?

1 Answers  


Categories