Здравствуйте, у меня есть некоторый ввод, но один из них отключен (да, и он мне нужен для моего табеля), но как мне отправить его autocomplete.php в insert.php У меня есть эта ошибка Неопределенный индекс: client1 в C:\wamp\ www\testlp\insert.php в строке 30
Вот мой код autocomplete.php
<form action = 'insert.php' method="post" >
<input type="text" name="client1" class = "client" size="12" id ="client1" disabled />
</form>
здесь мой код insert.php
session_start();
$date = $_POST['data'] ;
$client1 = $_POST['client1'] ;
echo($client1);
echo($date);
ИЗМЕНИТЬ Я пробовал это:
<input type="text" name="client1" class = "client" size="12" id ="client1"readonly />
вот ошибка: Notice: Undefined index: client1 in C:\wamp\www\testlp\insert.php on line 12
disabledв нем - person putvande   schedule 10.04.2014readonly. изdisabled- person Lix   schedule 10.04.2014value="<?php echo $client1; ?>"илиvalue="<?php echo $_POST['client1']; ?>", это должно помочь; работал на меня. @Thephpdoge - person Funk Forty Niner   schedule 10.04.2014<input type="text" name="client1"@Thephpdoge То есть:<input type="text" name="client1" class = "client" size="12" id ="client1" value="<?php echo $_POST['client1']; ?>" readonly />-или-<input type="text" name="client1" class = "client" size="12" id ="client1" value="<?php echo $client1; ?>" readonly />- person Funk Forty Niner   schedule 10.04.2014code <input type="text" name="client1" class = "client" size="12" id ="client1"readonly value="<?php echo $_POST['client1']; ?>"/>‹br /›‹font size='1'›‹table class='xdebug-error xe-notice' dir='ltr' border='1' cellpacing='0' cellpadding='1 '›‹tr›‹th align='left' bgcolor='#f57900' colspan= Примечание: Неопределенный индекс: client1 в C:\wamp\www\testlp\autocomplete.php в строке 177 - person Thephpdoge   schedule 10.04.2014