{source}
<!– You can place html anywhere within the source tags —>
<script language=”javascript” type=”text/javascript”>
// You can place JavaScript like this
</script>
<?php
$link = mysql_connect(‘62.149.150.85’, ‘Sql227016’, ‘36699b60’);
if (!$link) {
die(‘Could not connect: ‘ . mysql_error());
}
$db_selected = mysql_select_db(‘Sql227016_2’, $link);
if (!$db_selected) {
die (‘Can\’t use connect to database : ‘ . mysql_error());
}
$q = “Select nome, cognome, testata FROM jos_candidati_per_regione WHERE regione=’Lazio’ AND tipologia = ‘0’ AND FNSI=’1′”;
echo “<h1>Professionali <br/></h1>“;
$result = mysql_query($q);
while($row = mysql_fetch_array($result)){
?>
<form name=”nomec” method=”post” >
<a href=”<a href=”#” onClick=”MyWindow=window.open(‘https://www.senzabavaglio.info/ele10/scheda.php?Nome=<?php echo $row[0]; ?>&Cognome=<?php echo $row[1]; ?> &Regione=Lazio’,’MyWindow’,’toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=570,height=630,left=450,top=10′); return false;”><input type:”text” value=”<?php echo $row[0].” “.$row[1].”, “.$row[2] ; ?>” readonly=”readonly” name=”nomec” style=”width: 600px;”> </a>
</form>
<?php
}//hiusura ciclo while
?>
{/source}
Leave a Comment