Published On: sab, Nov 6th, 2010

I Candidati FNSI Emilia-Romagna

{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=’Emilia-Romagna’”;
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 $nome = urlencode ($row[0]); $nome = str_replace(‘%28’, ‘(‘, $nome) ; $nome = str_replace(‘+’, ‘ ‘, $nome) ; $nome = str_replace(‘%29’, ‘) ‘, $nome) ; $nome = str_replace(‘%27’, ”, $nome); echo $nome; ?>&Cognome=<?php $cognome= urlencode ($row[1]); $cognome = str_replace(‘%29’, ‘) ‘, $cognome) ; $cognome = str_replace(‘%28’, ‘(‘, $cognome) ;  $cognome = str_replace(‘+’, ‘ ‘, $cognome) ; $cognome = str_replace(‘%27′, ”, $cognome) ; echo $cognome; ?> &Regione=Emilia-Romagna’,’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

Displaying 1 Comments
Have Your Say
  1. […] I Candidati FNSI Scarica il Volantino input, textarea{} #authorarea{ padding-left: 8px; margin:10px 0; width: 635px; } #authorarea h3{ border-bottom: 1px solid #B0B0B0; color: #333333; font-family: georgia; font-size: 19px; font-weight: normal; line-height: 22px; margin:0 4px 5px; padding-left: 8px;} #authorarea h3 a{text-decoration:none; color:#333; font-weight:bold} #authorarea img{margin:0 5px; float:left; border:1px solid #ddd; width:40px; height:40px;} #authorarea p{color:#333; margin:0} #authorarea p a{color:#333} .authorinfo{ } […]

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>

I Candidati FNSI Emilia-Romagna