G
G
ggwplanaya2016-11-06 21:01:52
PHP
ggwplanaya, 2016-11-06 21:01:52

How to set title of PHP page?

There is a small problem when I want to set the title of the page through PHP - <?php echo $item->name; ?>
gives an error, although when I write $cat_title (category name) everything is fine. Please help, how can $item->name be converted into a variable to insert into the title

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
T_y_l_e_r, 2016-11-06
@T_y_l_e_r

look first what's in it

<?php
print_r($item);
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question