Jump to content

Recommended Posts

Hi.

 

I have a page set up with a large box in the middle. I want to display content pulled from my server in a repeating sequence, in say, 4 items per row, and as many rows as needed to display all the relevant data. The relevant data will be defined by the bottom part of the box, where you have 12 tabs to choose from, each signifying a category for the dynamic content to filter by. IE:

<?php
$relevantData = mysql_query("SELECT * FROM table WHERE 'category' = '$CurrentCategory' ");
while($row = mysql_fetch_array($relevantData)){
//list array here
}
?>

 

So each tab at the bottom links the user to: "thispage.php?cat=$whateverCategoryIsSelected"

When that tab is active, an active tab graphic is the background for the tab, it just looks like its the page/section youre on. When no on the tab, it looks like a page tab underneath the current tab. Clicking an inactive tab would make it active and link you to another category.

 

THE PROBLEM: After spending the last 6 hours banging my head against a wall trying to figure out how to do this, expending various resources including tenuous google searchs and hundreds of php, html, css, guides, I come here, to see if some really super awesome individual would be willing to help me out.

 

Any help would be greatly appreciated!

 

You can contact me at:

Skype: xxEndtimesxx

email: endtimes@moxiegaming.com

Edited by xxEndtimes
Link to comment
https://forums.phpfreaks.com/topic/271737-help-dynamic-content-display-frame/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.