That’s how it works. You’re requesting index.php
via AJAX, so you’ll get whatever the contents of index.php
are.
If you want a particular value, make a new PHP page that outputs just that value, and request that URL’s contents instead.
That’s how it works. You’re requesting index.php
via AJAX, so you’ll get whatever the contents of index.php
are.
If you want a particular value, make a new PHP page that outputs just that value, and request that URL’s contents instead.