array (
'idzaw' =>
array (
0 => '',
'btn-FMS' => '',
)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/main.css" rel="stylesheet"> <link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css" type="text/css" /> <link href="css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./jquery.datetimepicker.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> function loadPage(file) {
$('#laduj').load(file);
}
<header id="header">
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top" role="banner">
<div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <a class="navbar-brand" href="../index.html"><img src="images/logo.png" alt="logo"></a>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li ><a href="home.php"><span class="fa fa-male "></span> Dane
</a></li> <!--/.class="active" -->
<a href="#" onClick="loadPage('dziecko.php');"><span class="fa fa-child"></span> Dane 2
</a></li>
<ul class="nav navbar-nav navbar-right"> <li><a href="index.php"><span class="glyphicon glyphicon-user"></span> mat
</a></li> <li><a href="logout.php?logout"><span class="glyphicon glyphicon-log-out"></span> Wyloguj
</a></li> </nav><!--/nav-->
</header><!--/header-->
<section id="cta2">
<section id="meet-team">
<div class="col-sm-2 col-md-6">
<div class="team-member wow fadeInUp" data-wow-duration="400ms" data-wow-delay="0ms">
<form autocomplete="off" method="post" >
<h2 class="">Uzupełnij dane
</h2>
<select class="form-control" name="idzaw[]" >
1. 1a
2. 2m
3. 3a a
4. 4w w
5. 5qq qq
6. 6fff fff
7. 7bmm mm
8. 8uu uu
<button class="btn btn-block btn-primary" name="btn" type="submit">Dodaj
</button>
</section>
</section>
<footer id="footer">
© 2017
<ul class="social-icons"> <li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-youtube"></i></a></li>
</footer><!--/#footer-->
window.onerror = function(errorMsg) {
$('#console').html($('#console').html()+'
<br>'+errorMsg)
}*/
$.datetimepicker.setLocale('pl');
$('#datetimepicker_format').datetimepicker({value:'2015/04/15 05:03', format: $("#datetimepicker_format_value").val()});
console.log($('#datetimepicker_format').datetimepicker('getValue'));
$("#datetimepicker_format_change").on("click", function(e){
$("#datetimepicker_format").data('xdsoft_datetimepicker').setOptions({format: $("#datetimepicker_format_value").val()});
});
$("#datetimepicker_format_locale").on("change", function(e){
$.datetimepicker.setLocale($(e.currentTarget).val());
});
$('#datetimepicker').datetimepicker({value:'2015/04/15 05:03',step:10});
$('.some_class').datetimepicker();
$('#datetimepicker2').datetimepicker({
yearOffset:0,
lang:'pl',
timepicker:false,
format:'Y/m/d',
formatDate:'Y/m/d',
minDate:'+1960/01/02', // yesterday is minimum date
maxDate:'+1970/01/02' // and tommorow is maximum date calendar
});
coś drgnęło chyba, bo jak wybiorę id 8 to mam:
a jak np id 5 to:
znaczy pewnie jak chce potem to wyświetlić to jest coś nie tak ?
$idzaw = $DBcon->real_escape_string($idzaw);