Published On: sab, Nov 6th, 2010

Candidati Congresso Associazione Stampa Romana

{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 ASR=’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(‘http://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}

About the Author

Leave a comment

XHTML: You can use these html tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Candidati Congresso Associazione Stampa Romana