Hi all,
I'm having problem accessing my array and writing to it.
A simple print_r of my array $rows returns this:
Array
(
[0] => stdClass Object
(
[pagetitle] => hello
)
)
// Trying to access it
echo "<p>Testing: " . $rows[0]["pagetitle"] . "</p>";
// Trying to overwrite
$rows[0]["pagetitle"] = "NEW HELLO";
I cannot use foreach because I need to directly modify the array.
Any idea? Thanks!