echo/print specific element

Posted by gin on Stack Overflow See other posts from Stack Overflow or by gin
Published on 2010-06-09T02:35:01Z Indexed on 2010/06/09 2:42 UTC
Read the original article Hit count: 208

Filed under:
|

hi everyone,, i tried this example on ajax here

and i wonder if i can echo/print a specific element of the array at the php side
let's say i just want to print the second element which is "lastName"
i tried echo $t2lpostData[1]
it gives me error
"Undefined offset: 1 in C:\wamp\www\thank-you.php on line 12"

help plz,,

© Stack Overflow or respective owner

Related posts about php

Related posts about AJAX