function create_table($data){
echo "
reset($data);
$value = current($data);
while($value){
echo "
".$value."\n";$value = next($data);
}
echo "
";}
create_table(array('sdfsdf','zys','buasdf'));
function create_table($data,$cellspacing,$cellpadding,$border){
echo "
reset($data);
$value = current($data);
while($value){
echo "
{$value}";$value = next($data);
}
echo '
';}
create_table(array('sdfdsf','qweqwr','sdfa'),4,4,3);