View Single Post
Old 09-06-2021, 02:57 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,058

I am looking through today's discussion and at this point I am pretty confused.

What tables are you using and what fields are in the tables?

I am seeing you use what I think are table names as output?

So, not sure what to tell you.

As zijlstravideo said, you need to be doing the query at the top of the page if you expect to output it in the head section.

Code:
<html>
<?php
Hook up to the database.
Get your input variables.
Do your query for the meta data
?>
<head>
<base href="https://gfy.com/" /><!--[if IE]></base><![endif]-->
<title><?php echo your title here; ?php></title>
<meta name="keywords" value="<?php echo your keywords here; ?>">
<meta name="desctiption" value="<?php echo your description here; ?>">
</head>
<body>
<?php 
do your recipe query here
output your recipe table here
?>
</body>
</html>
Is kind of what the structure of the page should be, I think.

You are mixing methodologies it appears also.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote