Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread Austin Caudill
Subject: Re: [PHP] Re: Dynamic Titles To: php-general@lists.php.net Date: Friday, June 12, 2009, 9:29 PM On Sat, 13 Jun 2009, you wrote: > Well, im no longer getting any errors now, but its still not working. > You can see it here: http://www.newtuts.com. When you go there, it > s

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
you click on "Support", the title should become > "Newtuts Help". But instead, it just says "echo $title". Any more > ideas? > > > > Austin Caudill > > --- On Fri, 6/12/09, David Robley wrote: > > > From: David Robley > Subject: [PHP] R

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread Martin Scotta
PHP complains (usually) after the error. 1. 2. for( $i=0; $i<10; ++$i ) 3. echo $i, "\n" # missing ; 4. 5. unset( $i ); PHP will complain about unexpected T_UNSET at line 5 Why? Because PHP is expecting a anything different to unset. So, when PHP says that an error was found at line x tak

[PHP] Re: Dynamic Titles

2009-06-12 Thread Peter Ford
David Robley wrote: > Austin Caudill wrote: > >> Hello, im trying to make the CMS system im using more SEO friendly by >> giving each page it's own title. Right now, the system assigns all pages >> the same general title. I would like to use PHP to discertain which page >> is being viewed and in t

[PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
Austin Caudill wrote: > Hello, im trying to make the CMS system im using more SEO friendly by > giving each page it's own title. Right now, the system assigns all pages > the same general title. I would like to use PHP to discertain which page > is being viewed and in turn, which title should be u