Jump to content

syntax error


182x

Recommended Posts

hey guys,

 

just wondering where I went wrong with this syntax?

 

Thanks

 

$get= "SELECT * FROM use WHERE Id = $Id AND acc= $acc";
$query= mysql_query($get, $link_id) or die(mysql_error());


$temp=mysql_fetch_array($query)
$del="DELETE FROM tech WHERE techId= $temp['Id']";
$mysql_query($del, $link_id)or die(mysql_error());

Link to comment
https://forums.phpfreaks.com/topic/60886-syntax-error/
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.