Jump to content

whats the problem!


rameshfaj

Recommended Posts

Can anyone say anything that makes the following function call an error:

This is a coordination of PHP and Mysql

function editjobpost($pid,$description,$ownership,$title,$companyname,$openings,$sex,$age,$qualification,$experience,$skills,$responsibility,$location,$salary,$servicetype,$maritalstatus,$dbconnection)
{
if(!($description="")||(!($salary=""))||(!($location=""))||(!($title=""))||(!($openings=""))) 
{
$sql="UPDATE jobpost set companyname='".$companyname."' ,title='".$title."',description='".$description."',
	openings='".$openings."',
	 sex='".$sex."',
	  age='".$age."',
	   qualification='".$qualification."',experience='".$experience."',responsibility='".$responsibility."',skills='".$skills."',ownership='".$ownership."',location='".$location."',salary='".$salary."',service_type='".$servicetype."',maritalstatus='".$maritalstatus."' where pid='".$pid."'";
$result=mysql_query($sql,$dbconnection) 
	or die('<div class="error"> ERROR, while adding new JOB <br>'.mysql_error().'</div>');
return("Job Successfully Updated!!!");
}
}	

Link to comment
https://forums.phpfreaks.com/topic/54797-whats-the-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.