$SQLR = ""; $SQLchaP = ""; if (isset($_REQUEST["event_id"])) $event_id= $_REQUEST["event_id"]; else $event_id=""; if (isset($_REQUEST["NomC"])) $NomC= $_REQUEST["NomC"]; else $NomC =""; if (isset($_REQUEST["PrenomC"])) $PrenomC= $_REQUEST["PrenomC"]; else $PrenomC =""; if (isset($_REQUEST["Cout"])) $Cout= $_REQUEST["Cout"]; else $Cout =""; if (isset($_REQUEST["location"])) $location= $_REQUEST["location"]; else $location =""; if (isset($_REQUEST["Organisme"])) $Organisme= $_REQUEST["Organisme"]; else $Organisme =""; if (isset($_REQUEST["Tax"])) $Tax= $_REQUEST["Tax"]; else $Tax =""; $strSql = "SELECT * FROM locaux where CodeL = ".$location; $rsQuery = mysql_query($strSql); if (!$rsQuery) { echo "Could not successfully run query ($strSql) from DB: " . mysql_error(); exit; } if ($row = mysql_fetch_assoc($rsQuery)) //If Not rsQuery.EOF Then $NomL = $row["Nom"]; $strSql = "SELECT * FROM organisations where CodeO = ".$Organisme; $rsQuery = mysql_query($strSql); if (!$rsQuery) { echo "Could not successfully run query ($strSql) from DB: " . mysql_error(); exit; } if ($row = mysql_fetch_assoc($rsQuery)) $NomO = $row["Nom"]; ?>
|