Mini Shell
<?php include 'connection.php'; ?>
<?php
$name=$_REQUEST['name'];
$pass=$_REQUEST['pass'];
$id=$_REQUEST['id'];
$youtubename=$_REQUEST['youtubename'];
$date=$_REQUEST['date'];
$time=$_REQUEST['time'];
$reg=mysql_query("UPDATE nowlive SET name='$name',date='$date',you='$youtubename',video='$pass',tim='$time' WHERE id='$id'");
if($reg==1)
{
?>
<script type="text/javascript">
window.location.href="lives_view.php?pp1=<?php echo $id; ?>";
</script>
<?php
}
else
{
?>
<script type="text/javascript">
alert("Not complete");
window.location.href="lives_view.php?pp1=<?php echo $id; ?>";
</script>
<?php
}
?>
Zerion Mini Shell 1.0