In message <[EMAIL PROTECTED]>, Steve Delaney
<[EMAIL PROTECTED]> writes
>The client wants meta tags on the pages.

>As I walkthrough the code, it looks like the header is created first, 
>then a left aligned menu/list, then MySQL is called to get name, 
>description, price, etc. for each item.
>
>My problem is the header is created before the database is queried.
>I'm assumingh that meta-tags keyword, description, etc... have to be 
>specifically placed between the head and the body of the page. If so 
>I am getting the info way too late.

That is (almost) correct, the metatags, etc., must be *IN* the head
section (not between the head and body). 

You could move the call to the database, to appear sooner.  You can make
your call to the database before you display the header.  This is the
way I usually do it, so that I can use info from the database in the
metatags, then more detailed information, which was collected at the
same time, further down the page, in the body.

PHPdig is still available, and is used to provide a detailed search of
your own site, to visitors to your site, a sort of search engine for
your site.  It isn't used to create the pages.
http://www.phpdig.net/

-- 
Pete Clark

Sunny Andalucia
http://hotcosta.com/Andalucia.Spain

Reply via email to