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 the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

0 Answers  


List some features of php that are deprecated in php

0 Answers  


How to find second highest salary

9 Answers  


What is htaccess? Why do we use this and where?

0 Answers  


Do you know what is the function func_num_args() used for?

0 Answers  






How do you find the length of a string in php?

0 Answers  


What is singleton design pattern in php?

0 Answers  


How to get no of arguments passed to a PHP Function?

0 Answers  


how we can use lamp.ie installatiion and basic workings.Is it similar to wamp in usage?

1 Answers  


What is the difference between array_pop() and array_push()?

0 Answers  


What are the rules to declare a php variables?

0 Answers  


What is abstraction php?

0 Answers  


Categories