Dynamic row fields not inserted to mysql
all I need a help, i've stuck lately..
I have dynamic row field, so my user can add the fields dynamicaly.
Here's the php file
<table id="myTable" class="basic-table table order-list">
<thead>
<tr>
<th data-priority="1">Job Title</th>
<th data-priority="1">Company</th>
<th data-priority="1">Job desc</th>
<th data-priority="1">Job Start</th>
<th data-priority="1">Job End</th>
<th data-priority="1">Action</th>
</tr>
</thead>
<tbody>
<?php
$cekdata="SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$ada=mysql_query($cekdata) or die(mysql_error());
if(mysql_num_rows($ada)==0) {
echo "<td align='center' colspan='6' class='blue-tbg'>No Job Experience</td></tr>";
}
else{
$query = "SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$sql = mysql_query($query);
while($data = mysql_fetch_array($sql)) {
echo"<tr>
<td>
<input id='rows_$data[id_jobhis]' name='baris' value='$data[id_jobhis]' type='hidden'>
<input type='hidden' name='idjobhis $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idjobhis $data[id_jobhis]' value='$data[id_jobhis]'>
<input type='text' name='rnmjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rnmjob $data[nm_jobhis]' value='$data[nm_jobhis]'>
<input type='hidden' name='idtr $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idtr $data[id_tr]' value='$data[id_tr]'>
</td>
<td>
<input type='text' name='rcpjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rcpjob $data[id_jobhis]' value='$data[cp_jobhis]'>
</td>
<td>
<textarea name='rjobdesc $data[id_jobhis]' cols='40' rows='3' id='rjobdesc $data[id_jobhis]' maxlength='300' class='with-border' required>$data[desc_jobhis]</textarea>
</td>
<td>
<input type='text' name='rstartjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rstartjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[start_jobhis]'>
</td>
<td>
<input type='text' name='rendjob $data[id_jobhis]' parsley-trigger='change' required class='fwith-border' id='rendjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[end_jobhis]'>
</td>
<td>
<a href='#small-dialog-$data[id_jobhis]' class='apply-now-button popup-with-zoom-anim'>Remove</a>
</td>
</tr>
<div id='small-dialog-$data[id_jobhis]' class='zoom-anim-dialog mfp-hide dialog-with-tabs'>
<div class='sign-in-form'>
<div class='popup-tabs-container'>
<div class='popup-tab-content' id='tab'>
<div class='welcome-text'>
<h3>Confirmation</h3>
</div>
<p>Are you sure to remove job experience as <strong>$data[nm_jobhis] at $data[cp_jobhis]</strong> ?</p>
<a href='director.php?act=del-sertif&id_trsertif=$data[id_tr]&id_job=$data[id_jobhis]' class='button ripple-effect'>Remove</a>
</div>
</div>
</div>
</div>";
}
}
?>
</tbody>
</table>
<input type="button" class="btn btn-lg btn-block " id="addrow" value="Add Row" />
And here's the js script to add dynamic row
<script>
$(document).ready(function () {
var counter = 1;
$("#addrow").on("click", function () {
var newRow = $("<tr>");
var cols = "";
cols += '<td><input type="hidden" id="baris_' + counter + '" name="baris" value="'+ counter +'" ><input type="text" class="with-border" name="xnmjob' + counter + '" required/></td>';
cols += '<td><input type="text" class="with-border" name="xnmcp' + counter + '" required/></td>';
cols += '<td><textarea name="xdescjob' + counter + '" cols="40" rows="3" maxlength="300" class="with-border" required></textarea> </td>';
cols += '<td><input type="text" class="with-border" name="xstartjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="text" class="with-border" name="xendjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="button" class="ibtnDel btn btn-md btn-danger " value="Delete"></td>';
newRow.append(cols);
$("table.order-list").append(newRow);
counter++;
});
$("table.order-list").on("click", ".ibtnDel", function (event) {
$(this).closest("tr").remove();
counter += 1
});
});
and here's the script to database
if(isset($_POST['rows']) && is_array($_POST['rows']) && count($_POST['rows'])>0)
{
foreach ($_POST['rows'] as $count ){
$xnmjob = $_POST['xnmjob_'.$count];
$xnmcp = $_POST['xnmcp_'.$count];
$xdescjob = $_POST['xdescjob_'.$count];
$xstartjob = $_POST['xstartjob_'.$count];
$xendjob = $_POST['xendjob_'.$count];
$queryadd = "INSERT INTO jobhis VALUES ('','$id_tr','$nama''$xnmjob','$xcpjob','$xstartjob','$xendjob','$xdescjob')";
mysql_query($queryadd) or die(mysql_error());
}
}
But when I submit the form, the php not indexed the rows that generated dynamicaly..Please help..thanks
php mysql database
add a comment |
all I need a help, i've stuck lately..
I have dynamic row field, so my user can add the fields dynamicaly.
Here's the php file
<table id="myTable" class="basic-table table order-list">
<thead>
<tr>
<th data-priority="1">Job Title</th>
<th data-priority="1">Company</th>
<th data-priority="1">Job desc</th>
<th data-priority="1">Job Start</th>
<th data-priority="1">Job End</th>
<th data-priority="1">Action</th>
</tr>
</thead>
<tbody>
<?php
$cekdata="SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$ada=mysql_query($cekdata) or die(mysql_error());
if(mysql_num_rows($ada)==0) {
echo "<td align='center' colspan='6' class='blue-tbg'>No Job Experience</td></tr>";
}
else{
$query = "SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$sql = mysql_query($query);
while($data = mysql_fetch_array($sql)) {
echo"<tr>
<td>
<input id='rows_$data[id_jobhis]' name='baris' value='$data[id_jobhis]' type='hidden'>
<input type='hidden' name='idjobhis $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idjobhis $data[id_jobhis]' value='$data[id_jobhis]'>
<input type='text' name='rnmjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rnmjob $data[nm_jobhis]' value='$data[nm_jobhis]'>
<input type='hidden' name='idtr $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idtr $data[id_tr]' value='$data[id_tr]'>
</td>
<td>
<input type='text' name='rcpjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rcpjob $data[id_jobhis]' value='$data[cp_jobhis]'>
</td>
<td>
<textarea name='rjobdesc $data[id_jobhis]' cols='40' rows='3' id='rjobdesc $data[id_jobhis]' maxlength='300' class='with-border' required>$data[desc_jobhis]</textarea>
</td>
<td>
<input type='text' name='rstartjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rstartjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[start_jobhis]'>
</td>
<td>
<input type='text' name='rendjob $data[id_jobhis]' parsley-trigger='change' required class='fwith-border' id='rendjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[end_jobhis]'>
</td>
<td>
<a href='#small-dialog-$data[id_jobhis]' class='apply-now-button popup-with-zoom-anim'>Remove</a>
</td>
</tr>
<div id='small-dialog-$data[id_jobhis]' class='zoom-anim-dialog mfp-hide dialog-with-tabs'>
<div class='sign-in-form'>
<div class='popup-tabs-container'>
<div class='popup-tab-content' id='tab'>
<div class='welcome-text'>
<h3>Confirmation</h3>
</div>
<p>Are you sure to remove job experience as <strong>$data[nm_jobhis] at $data[cp_jobhis]</strong> ?</p>
<a href='director.php?act=del-sertif&id_trsertif=$data[id_tr]&id_job=$data[id_jobhis]' class='button ripple-effect'>Remove</a>
</div>
</div>
</div>
</div>";
}
}
?>
</tbody>
</table>
<input type="button" class="btn btn-lg btn-block " id="addrow" value="Add Row" />
And here's the js script to add dynamic row
<script>
$(document).ready(function () {
var counter = 1;
$("#addrow").on("click", function () {
var newRow = $("<tr>");
var cols = "";
cols += '<td><input type="hidden" id="baris_' + counter + '" name="baris" value="'+ counter +'" ><input type="text" class="with-border" name="xnmjob' + counter + '" required/></td>';
cols += '<td><input type="text" class="with-border" name="xnmcp' + counter + '" required/></td>';
cols += '<td><textarea name="xdescjob' + counter + '" cols="40" rows="3" maxlength="300" class="with-border" required></textarea> </td>';
cols += '<td><input type="text" class="with-border" name="xstartjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="text" class="with-border" name="xendjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="button" class="ibtnDel btn btn-md btn-danger " value="Delete"></td>';
newRow.append(cols);
$("table.order-list").append(newRow);
counter++;
});
$("table.order-list").on("click", ".ibtnDel", function (event) {
$(this).closest("tr").remove();
counter += 1
});
});
and here's the script to database
if(isset($_POST['rows']) && is_array($_POST['rows']) && count($_POST['rows'])>0)
{
foreach ($_POST['rows'] as $count ){
$xnmjob = $_POST['xnmjob_'.$count];
$xnmcp = $_POST['xnmcp_'.$count];
$xdescjob = $_POST['xdescjob_'.$count];
$xstartjob = $_POST['xstartjob_'.$count];
$xendjob = $_POST['xendjob_'.$count];
$queryadd = "INSERT INTO jobhis VALUES ('','$id_tr','$nama''$xnmjob','$xcpjob','$xstartjob','$xendjob','$xdescjob')";
mysql_query($queryadd) or die(mysql_error());
}
}
But when I submit the form, the php not indexed the rows that generated dynamicaly..Please help..thanks
php mysql database
add a comment |
all I need a help, i've stuck lately..
I have dynamic row field, so my user can add the fields dynamicaly.
Here's the php file
<table id="myTable" class="basic-table table order-list">
<thead>
<tr>
<th data-priority="1">Job Title</th>
<th data-priority="1">Company</th>
<th data-priority="1">Job desc</th>
<th data-priority="1">Job Start</th>
<th data-priority="1">Job End</th>
<th data-priority="1">Action</th>
</tr>
</thead>
<tbody>
<?php
$cekdata="SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$ada=mysql_query($cekdata) or die(mysql_error());
if(mysql_num_rows($ada)==0) {
echo "<td align='center' colspan='6' class='blue-tbg'>No Job Experience</td></tr>";
}
else{
$query = "SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$sql = mysql_query($query);
while($data = mysql_fetch_array($sql)) {
echo"<tr>
<td>
<input id='rows_$data[id_jobhis]' name='baris' value='$data[id_jobhis]' type='hidden'>
<input type='hidden' name='idjobhis $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idjobhis $data[id_jobhis]' value='$data[id_jobhis]'>
<input type='text' name='rnmjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rnmjob $data[nm_jobhis]' value='$data[nm_jobhis]'>
<input type='hidden' name='idtr $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idtr $data[id_tr]' value='$data[id_tr]'>
</td>
<td>
<input type='text' name='rcpjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rcpjob $data[id_jobhis]' value='$data[cp_jobhis]'>
</td>
<td>
<textarea name='rjobdesc $data[id_jobhis]' cols='40' rows='3' id='rjobdesc $data[id_jobhis]' maxlength='300' class='with-border' required>$data[desc_jobhis]</textarea>
</td>
<td>
<input type='text' name='rstartjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rstartjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[start_jobhis]'>
</td>
<td>
<input type='text' name='rendjob $data[id_jobhis]' parsley-trigger='change' required class='fwith-border' id='rendjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[end_jobhis]'>
</td>
<td>
<a href='#small-dialog-$data[id_jobhis]' class='apply-now-button popup-with-zoom-anim'>Remove</a>
</td>
</tr>
<div id='small-dialog-$data[id_jobhis]' class='zoom-anim-dialog mfp-hide dialog-with-tabs'>
<div class='sign-in-form'>
<div class='popup-tabs-container'>
<div class='popup-tab-content' id='tab'>
<div class='welcome-text'>
<h3>Confirmation</h3>
</div>
<p>Are you sure to remove job experience as <strong>$data[nm_jobhis] at $data[cp_jobhis]</strong> ?</p>
<a href='director.php?act=del-sertif&id_trsertif=$data[id_tr]&id_job=$data[id_jobhis]' class='button ripple-effect'>Remove</a>
</div>
</div>
</div>
</div>";
}
}
?>
</tbody>
</table>
<input type="button" class="btn btn-lg btn-block " id="addrow" value="Add Row" />
And here's the js script to add dynamic row
<script>
$(document).ready(function () {
var counter = 1;
$("#addrow").on("click", function () {
var newRow = $("<tr>");
var cols = "";
cols += '<td><input type="hidden" id="baris_' + counter + '" name="baris" value="'+ counter +'" ><input type="text" class="with-border" name="xnmjob' + counter + '" required/></td>';
cols += '<td><input type="text" class="with-border" name="xnmcp' + counter + '" required/></td>';
cols += '<td><textarea name="xdescjob' + counter + '" cols="40" rows="3" maxlength="300" class="with-border" required></textarea> </td>';
cols += '<td><input type="text" class="with-border" name="xstartjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="text" class="with-border" name="xendjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="button" class="ibtnDel btn btn-md btn-danger " value="Delete"></td>';
newRow.append(cols);
$("table.order-list").append(newRow);
counter++;
});
$("table.order-list").on("click", ".ibtnDel", function (event) {
$(this).closest("tr").remove();
counter += 1
});
});
and here's the script to database
if(isset($_POST['rows']) && is_array($_POST['rows']) && count($_POST['rows'])>0)
{
foreach ($_POST['rows'] as $count ){
$xnmjob = $_POST['xnmjob_'.$count];
$xnmcp = $_POST['xnmcp_'.$count];
$xdescjob = $_POST['xdescjob_'.$count];
$xstartjob = $_POST['xstartjob_'.$count];
$xendjob = $_POST['xendjob_'.$count];
$queryadd = "INSERT INTO jobhis VALUES ('','$id_tr','$nama''$xnmjob','$xcpjob','$xstartjob','$xendjob','$xdescjob')";
mysql_query($queryadd) or die(mysql_error());
}
}
But when I submit the form, the php not indexed the rows that generated dynamicaly..Please help..thanks
php mysql database
all I need a help, i've stuck lately..
I have dynamic row field, so my user can add the fields dynamicaly.
Here's the php file
<table id="myTable" class="basic-table table order-list">
<thead>
<tr>
<th data-priority="1">Job Title</th>
<th data-priority="1">Company</th>
<th data-priority="1">Job desc</th>
<th data-priority="1">Job Start</th>
<th data-priority="1">Job End</th>
<th data-priority="1">Action</th>
</tr>
</thead>
<tbody>
<?php
$cekdata="SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$ada=mysql_query($cekdata) or die(mysql_error());
if(mysql_num_rows($ada)==0) {
echo "<td align='center' colspan='6' class='blue-tbg'>No Job Experience</td></tr>";
}
else{
$query = "SELECT * from jobhis where id_tr='$id' ORDER BY id_jobhis ASC";
$sql = mysql_query($query);
while($data = mysql_fetch_array($sql)) {
echo"<tr>
<td>
<input id='rows_$data[id_jobhis]' name='baris' value='$data[id_jobhis]' type='hidden'>
<input type='hidden' name='idjobhis $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idjobhis $data[id_jobhis]' value='$data[id_jobhis]'>
<input type='text' name='rnmjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rnmjob $data[nm_jobhis]' value='$data[nm_jobhis]'>
<input type='hidden' name='idtr $data[id_jobhis]' parsley-trigger='change' required class='form-control' id='idtr $data[id_tr]' value='$data[id_tr]'>
</td>
<td>
<input type='text' name='rcpjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rcpjob $data[id_jobhis]' value='$data[cp_jobhis]'>
</td>
<td>
<textarea name='rjobdesc $data[id_jobhis]' cols='40' rows='3' id='rjobdesc $data[id_jobhis]' maxlength='300' class='with-border' required>$data[desc_jobhis]</textarea>
</td>
<td>
<input type='text' name='rstartjob $data[id_jobhis]' parsley-trigger='change' required class='with-border' id='rstartjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[start_jobhis]'>
</td>
<td>
<input type='text' name='rendjob $data[id_jobhis]' parsley-trigger='change' required class='fwith-border' id='rendjob $data[id_jobhis]' data-mask='99/99/9999' value='$data[end_jobhis]'>
</td>
<td>
<a href='#small-dialog-$data[id_jobhis]' class='apply-now-button popup-with-zoom-anim'>Remove</a>
</td>
</tr>
<div id='small-dialog-$data[id_jobhis]' class='zoom-anim-dialog mfp-hide dialog-with-tabs'>
<div class='sign-in-form'>
<div class='popup-tabs-container'>
<div class='popup-tab-content' id='tab'>
<div class='welcome-text'>
<h3>Confirmation</h3>
</div>
<p>Are you sure to remove job experience as <strong>$data[nm_jobhis] at $data[cp_jobhis]</strong> ?</p>
<a href='director.php?act=del-sertif&id_trsertif=$data[id_tr]&id_job=$data[id_jobhis]' class='button ripple-effect'>Remove</a>
</div>
</div>
</div>
</div>";
}
}
?>
</tbody>
</table>
<input type="button" class="btn btn-lg btn-block " id="addrow" value="Add Row" />
And here's the js script to add dynamic row
<script>
$(document).ready(function () {
var counter = 1;
$("#addrow").on("click", function () {
var newRow = $("<tr>");
var cols = "";
cols += '<td><input type="hidden" id="baris_' + counter + '" name="baris" value="'+ counter +'" ><input type="text" class="with-border" name="xnmjob' + counter + '" required/></td>';
cols += '<td><input type="text" class="with-border" name="xnmcp' + counter + '" required/></td>';
cols += '<td><textarea name="xdescjob' + counter + '" cols="40" rows="3" maxlength="300" class="with-border" required></textarea> </td>';
cols += '<td><input type="text" class="with-border" name="xstartjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="text" class="with-border" name="xendjob' + counter + '" data-mask="99/99/9999" required/></td>';
cols += '<td><input type="button" class="ibtnDel btn btn-md btn-danger " value="Delete"></td>';
newRow.append(cols);
$("table.order-list").append(newRow);
counter++;
});
$("table.order-list").on("click", ".ibtnDel", function (event) {
$(this).closest("tr").remove();
counter += 1
});
});
and here's the script to database
if(isset($_POST['rows']) && is_array($_POST['rows']) && count($_POST['rows'])>0)
{
foreach ($_POST['rows'] as $count ){
$xnmjob = $_POST['xnmjob_'.$count];
$xnmcp = $_POST['xnmcp_'.$count];
$xdescjob = $_POST['xdescjob_'.$count];
$xstartjob = $_POST['xstartjob_'.$count];
$xendjob = $_POST['xendjob_'.$count];
$queryadd = "INSERT INTO jobhis VALUES ('','$id_tr','$nama''$xnmjob','$xcpjob','$xstartjob','$xendjob','$xdescjob')";
mysql_query($queryadd) or die(mysql_error());
}
}
But when I submit the form, the php not indexed the rows that generated dynamicaly..Please help..thanks
php mysql database
php mysql database
asked Nov 24 '18 at 16:17
user3828720user3828720
13
13
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53460044%2fdynamic-row-fields-not-inserted-to-mysql%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53460044%2fdynamic-row-fields-not-inserted-to-mysql%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown