php title problem


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I am having a problem managing my page title with PHP.

Currently I have my <title> tags in each PHP document, followed by my header.php which has my functions.php file contained in it. The functions.php has my page titles defined in it.

I can only get my titles to show if I place my header.php file above the <title> tag.

Is there a way round this problem?

Thanks

214 Like 8 Dislike
Previous php-forum Next php-forum
Other php-forum

Secure pages Sessions vs. Cookies & session_destroy() help
Im new here and new to PHP, I hope you can help me with some questions.

Im writing my web ap

Adding Different Numbers From MySQL
Basically I have a mysql database with a couple prices as the following:

9.99
9.99
9.99

retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

Spliting paragraph into sentences and attach in
Here is what I am trying to do

example: Para1[123.456.789!] 3 sentences
Para2

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Option box to change variable
Hello, i need help by making a script!

I need to write a file with option box, so a dropdown

how to make database item unique
Hey guys,

is it possible to do this:

I have the database item $title being pulled for

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash