<?
session_start();
if($dane!="ok") {echo "<h4>You dont heave premision to see this page</h4></body></html>"; exit;}
include "conf.php";
include "addpuszbaza.php";
if(eregi(" ", $newnamecolumn)) {echo "Column name can't contain spaces. Please return and choose other name"; exit(); }
if($newnamecolumn=="") {echo "Column name can't be empty. Please return and choose other name"; exit(); }
$file = $url.$nzw;
addcolumn_pb($file, $newnamecolumn);
header("Location: showtable.php?nzw=$nzw&na=$na");
?>