im so sorry for my bad english.
I have some problems with slim + ajax
this is my controller
$app->get('/creazioni(/:lim(/:page))', function($lim = 0, $page = 5) use($app){
and this is my ajax code
$.ajax({ //lancio la chiamata principale
type : "GET",
data : "lim=" + lim + "&page=" + pag,
url : 'http://www.urltest.it/creazioni/',
success : function(data) {
$('#stampa').empty();
$('#stampa').html(data);
}
console error return a 404 or 509 if i remove / from url:'http://www.urltest.it/creazioni/ it's around 3 days that u try to solve this problem. i making a pagination bu actualy not work xD
Thanks for answer and another time sorry for my english