Q:

PHP Variable in mysql_query

I have a variable like this:
$var = "INSERT INTO `gaz_001rigdoc`(`id`) VALUES (".$variabletest.");"; 

Afterwards, I need do this:
$querygo = mysql_query ($var);

Is this possible?  How can I do this?  Thank you. 

A:

Try this

$var = "INSERT INTO gaz_001rigdoc(id) VALUES
  ('".$variabletest."')";