Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
If you read tripy's response again, you'll see that he has already answered your question. The GET query ?totX=results[0]&totY=results[1]&totZ=results[2] returns result[0], result[1], result[2], because the variables $_GET['totX'], $_GET['totY'], and $_GET['totZ'] are being assigned the values 'result[0]', 'result[1]', and 'result[2]'. Javascript, unlike PHP, always requires concatenation if you wish to mix strings with variables.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
Last edited by wayfarer07; 06-16-2008 at 03:48 PM..
|