fields having name="name",name="age" and i send them through ajax to php like this: var datastring=$("#form").serialize();.So to access the vlaues in php this should work:-> $_(POST['name']),$_POST(['age'])?
use different names or use array: name[]=name, name[]=age
Yes. That's of course if you used 'POST' as the method.
Обсуждают сегодня