View Single Post
Old 09-06-2021, 08:00 AM  
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,123
Sorry, forgot to post the code im using to attach the data from the database..

PHP Code:
<?php
session_start
();
(
"mysql:host=localhost;dbname=database""user","password");
    
$table "Recipes";

$metasettings = @mysql_fetch_assoc(@mysql_query("SELECT * FROM RecipeName, RecipeDescription, Author"));

$title $metasettings['RecipeName'];
$description $metasettings['RecipeDescription'];
$random_tags $metasettings['Author'];

?>
Then im using this in place on each of the metas..

PHP Code:
<?=$title?>
<?=$description?>
<?=$random_tags?>
Hope that makes sense
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote