ho risolto ma mi esce un errore parser...sapreste dirmi dove sbaglio??
codice:
<?php
include('variabili.php');
< ?php } function dbconnect() { mysql_connect("localhost", "mio_dominio", "mia_pass"); @mysql_select_db("miodatabase_com") or die ("Unable to select database"); } ? >
< ?php session_start(); dbconnect(); if (!isset($verified_user)) $verified_user=''; if ($action=='login') { $result=mysql_query("SELECT ID,Nick,Pass,Esilio,Motivo FROM pgu WHERE Nick='".$nick."' AND Pass='".$psw."'"); if (mysql_num_rows($result)>0) list($verified_user)=mysql_fetch_row($result); else $verified_user=''; } session_register("verified_user");? >
@mysql_close;
?>