scootstah Posted February 11, 2012 Share Posted February 11, 2012 No, you'd need to get the values from the form using Javascript. It would look something like var short, location, type; short = $('input[name="short"]').val(); location = $('input[name="location"]').val(); type = $('input[name="type"]').val(); $.post("editcalendar.php", { short : short, location : location, type : type }, function(data) { alert("Your event has been created, Close this window."); } ); Now do that for all of your form elements. Link to comment https://forums.phpfreaks.com/topic/256543-prevent-people-from-adding-item-twice/page/2/#findComment-1316994 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.