$value) { $_POST[$key] = addslashes($value); } // add listing to database $link = mysql_connect($dbhost, $dbuser, $dbpass); $query = "INSERT INTO videocomments ( videoid, name, email, data ) VALUES( '".$videoid."', '".$_POST['name']."', '".$_POST['email']."', '".nl2br($_POST['comment'])."' )"; //echo $query; mysql_db_query($dbname, $query, $link); } $word_ok = "yes"; } else { $word_ok = "no"; } } else { $word_ok = false; } $query = "select * from videos where videoid='".$videoid."';"; $result = mysql_db_query($dbname, $query, $link); while($row = mysql_fetch_array($result)) { if($row['descrition']){ $descrition=$row['descrition']; } if($row['keywords']){ $keywords=$row['keywords']; } if($row['title']){ $title=$row['title']; } include("header.php"); ?>
Sākums > Kāzu Video

".stripslashes($row['videourl'])."";} if($row['footer']) { echo "
".$row['footer']."
";} if($row['author']) { echo "
- ".$row['author']." -
";} } ?>


Pievienot komentāru:* obligāti jāaizpilda
Vārds: * E-Pasts:
Komentārs: *
Ja nevar izlasīt, spied te
Pārbaudes Teksts: *

");?>