Skip to content
Advertisement

php variable ask ques

My goal is to grab the name of a page by querying the page ID. And then store it in a variable.

The current code I have for doing part of this is below, however as you can see the only thing I’ve done with the data is print it.

CODE:

JavaScript

OUTPUT:

JavaScript

I want just the plaintext of the pagename stored in a variable, not this Array ( [0] => Array ( [name] =>...))

Advertisement

Answer

Here how you retrieve it:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement