I agree with Psycho, but it does not have to be a cron job, if you do not want to use one. You could do it on login. When the user logs in and if it is the first login of the day you can show all available job matches/alerts for that user.
Hello,
I would create another row in your member table called subscription_id or what ever you would name the subscriptions table. Then in the subscriptions table just create the rows for the id, name, description (if one), term (months, years), cost, renewal automatically, signup_date, end_date? Some of the things I add to the new table. Then just do your magic.
var x = "#inputList",
y = 2;
$(add_button).on('click', function(e)
{
e.preventDefault();
$(x + y).css('display','inline);
console.log($(x + y)); //this should show you if you have the right object check your console
y++;
return false;
});
Well hello this is easy if you use jquery....
A couple of things
$(document).ready(function()
{
var appendEle = $("#updateFixture");
$("#fixtures").on('change', function()
{
appendEle.html("");
var stage = $(this).val();
$.post('getFixtures.php', {stage: stage}, function(data)
{
var obj = $.parseJSON(data);
$.each(obj, function(index, fixture)
{
var newEle = $("<div></div>");
var goalsfor = $('<label>' + fixture.hometeam + ' Goals</label><input type="text" id="goalsfor_' + fixture.id + '" name="goalsfor_' + fixture.id + '" value="' + fixture.goalsfor + '" />');
var goalsagainst = $('<label>' + fixture.awayteam + ' Goals</label><input type="text" id="goalsagaint_' + fixture.id + '" name="goalsagaint_' + fixture.id + '" value="' + fixture.goalsagaint_+ '" />');
goalsfor.append(newEle);
goalsagainst.append(newEle);
newEle.append(appendEle);
});
});
});
$("#saveButton").on('click', function()
{
$.post('saveFixtures.php', $("#contactForm").serialize(), function(data)
{
if(data == "success")
{
//do what you want
}
else
{
//do what you want
}
});
});
});
That is the jquery file you will need two other files to save the changes and update I can help with that too if you need
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.