View Single Post
  #3 (permalink)  
Old 05-12-2005, 08:31 PM
theninjasquad theninjasquad is offline
Registered User
 
Join Date: Apr 2005
Posts: 7
okay heres the code:

mysql_query("UPDATE PL0105 SET $column = '$key' WHERE IDString = '$ID'", $db) or die(mysql_error());

I tried changing the $column to be <?php echo $column ?> instead, but I get a parse error still. I think it might be because my main code is in php brackets already, and I'm trying to add php brackets into that. But i dont see any other way around it... any ideas?
Reply With Quote