<?php
if (isset($_POST['submit']))
{
$username=$_POST['username'];
$url=$_POST['url'];
$bank=$_POST['bank'];
$namarekening=$_POST['namarekening'];
$norekening=$_POST['norekening'];
$nohape=$_POST['nohape'];
$email=$_POST['email'];
$anda=$_POST['anda'];
mysql_query("insert into users (username,email,namarekening,norekening,nohape,anda,url,bank)
values('$username','$email','$namarekening','$norekening','$nohape','$anda','$url','$bank')
")or die(mysql_error());
?>
<script>alert('Successfully Registered!'); window.location = 'pesarta.php';</script>"
<?php
}
?>
This is my code, any idea what should i do, i make table with 3 column, No.,URL, and the other one is Status. i want if they send, it automatically fill up the Status table with pending..