|
 |
|
คือผมส่งค่า แต่ทำไมค่ามันไม่ไปละครับ ช่วยหน่อยครับพี่ พี่ ขอบคุณครับ |
|
 |
|
|
 |
 |
|

Code (PHP)
<form name="form1" method="post" action="Knowledge_confirm.php">
<table width="650" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100" bgcolor="#9DE478" ><center>ชื่อเรื่อง</center></td>
<td width="287" bgcolor="#9DE478"><input name="name" type="text" id="name" size="90"></td>
</tr>
<tr>
<td align="center" bgcolor="#D0F4A7">รายละเอียด</td>
<td><textarea name="detail" id="detail" cols="45" rows="5" ></textarea> <script type="text/javascript">
CKEDITOR.replace( 'detail',{
skin : 'kama',
height : 100,
width : 550,
language : 'th',
extraPlugins : 'uicolor',
uiColor : '#9edd78',
toolbar :
[
['Cut','Copy','Paste','PasteText','PasteFromWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],
['Styles'],
'/',
['Format','Font','FontSize'],
['TextColor','BGColor']
],
filebrowserBrowseUrl : 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?Type=Flash',
filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
} );
</script>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#9DE478"><center><input type="submit" name="button" id="button" value="ยืนยัน"></center></td>
</tr>
</table>
</form>
จะส่งค่ามาหน้าด่านล่างครับ
Code (PHP)
<form name="form1" method="post" action="Knowledge_confirm_DB.php">
<table width="650" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100" bgcolor="#9DE478" ><center>ชื่อเรื่อง</center></td>
<td width="287" bgcolor="#9DE478"><input name="name" type="text" id="name" size="90" value="<? echo $_POST[name];?>"></td>
</tr>
<tr>
<td align="center" bgcolor="#D0F4A7">รายละเอียด</td>
<td><textarea name="detail" id="detail" cols="45" rows="5" value="<? echo $_POST[detail];?>" ></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'detail',{
skin : 'kama',
height : 100,
width : 550,
language : 'th',
extraPlugins : 'uicolor',
uiColor : '#9edd78',
toolbar :
[
['Cut','Copy','Paste','PasteText','PasteFromWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],
['Styles'],
'/',
['Format','Font','FontSize'],
['TextColor','BGColor']
],
filebrowserBrowseUrl : 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?Type=Flash',
filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
} );
</script>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#9DE478"><center><input type="submit" name="button" id="button" value="ยืนยัน"></center></td>
</tr>
</table>
</form>
Tag : PHP, MySQL

|
|
 |
 |
 |
 |
Date :
2012-01-30 14:07:11 |
By :
bird2829 |
View :
1058 |
Reply :
1 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ค่า <textarea> ครับ มันไม่ส่งค่ามา ช่วยด้วยครับ
|
 |
 |
 |
 |
Date :
2012-01-30 14:10:08 |
By :
bird2829 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 02
|