Location: PHPKode > projects > PuszForum > puszforum/phpPuszAdmin/createtable_write.php
<? include "g-szablon.php" ?>
<pre>
<?

for($i = 0; $i < count($colnam); $i++) 
	{
	if(eregi(" ", $colnam[$i])) {echo "Column name can't contain spaces. Please return and choose other name"; exit(); }
	if($colnam[$i]=="") {echo "Column name can't be empty. Please return and choose other name"; exit(); }
	}

for($i = 0; $i < count($colnam); $i++) $colnames .= $colnam[$i].";";

createtable_pb($url.$nazwa.".pbf", $colnames);

?>
</pre>
<H4 align="center">Your table and file was sucsesfully created</H6><br>
<div align="center">Refresh the left menu to show and acess to this table</div>

<? include "d-szablon.php" ?>
Return current item: PuszForum