I’m in the home stretch on this thing. The last part of this is 2 fold.
1 - I have to export this data to an xls file. I have the code to actually write the file, just have to find a way to execute it from jquery. So far, all I’ve been able to do is get to show up in a div.
function for that is [code]function export_xls() {
var info = $("#paid").val();
$.ajax({
url: "inc/export_hitlist.php",
data: {paid: info},
type: 'post',
dataType: 'json',
success: function(data) {
$("#invisible").html(data);
}
});
}[/code]
2 - send out an email with the xls file as an attachment, for which I have no code yet to do it.