php - Symfony 1.4 & ajax parameter "null" -


i'm trying use ajax,but cant reach variables in php.

on symfony page have :

$.ajax({    type: "post",    url: "agenda/data",    data: { title : title} }); 

and in action.class.php => executedata function try parameter : $title = $request->getparameter('title'); return null . why?

how can javascript variables action.class.php (i want insert them in db, , don't want null parameter lol)?


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -