Custom Table
-
I’ve added a custom table but am having trouble returning records.
This line has been added to the header.php:
<?php include(‘https://127.0.0.1:8888/site-files/video-query.php’); ?>
This file contains the query and connection string.The sidebar.php file contains this code:
<p class="BoldRed">Tips go Here...<?php echo $row_GetTip['Video_Category']; ?></p>
<p class="BoldRed"><?php echo $row_GetInstructional['Video_Category']; ?> </p>
<?php echo $row_GetInstructional['Video_Text']; ?>
<p>Instructions go here...<?php echo $row_GetInstructional['Video_Title']; ?></p>
<?php echo $row_GetTip['Video_Text']; ?>
<p><?php echo $row_GetTip['Video_Title']; ?></p>
The hard-coded text is being displayed, but none of the records are.
I’ve tested this on a custom template as well as the default template.
Ideas anyone??
david
- The topic ‘Custom Table’ is closed to new replies.