Created
December 28, 2014 08:40
-
-
Save anonymous/f7a963873bf2ed98662c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
include("connection.php"); | |
$temp=$_POST['productUpdateId']; | |
$arr=explode(":-",$temp); | |
$pId=$arr[0]; | |
$_SESSION['updateNeedPId']=$pId; | |
$sqlquery_get_name_details="SELECT * FROM p_details pD,p_name pN"; | |
$nameDet_ref=mysqli_query($con,$sqlquery_get_name_details); | |
if($row=mysqli_fetch_array($nameDet_ref)){ | |
$pName=$row["pN p_name"]; | |
$pDet=$row["pD.p_det"]; | |
$_SESSION['updateNeedPName']=$pName; | |
$_SESSION['updateNeedPDet']=$pDet; | |
} | |
?> | |
THE ERRORS ARE; | |
Notice: Undefined index: pN p_name in D:\wamp\dsdsd\updateSelect.php on line 12 | |
Notice: Undefined index: pD.p_det in D:\wamp\wdsdsd\updateSelect.php on line 13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment