Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Jun 2004, 12:32
starsitesnet starsitesnet is offline
 
Join Date: Jun 2004
mySQL/PHP Coding - Help selecting/applying values

Trying to write a hack that will allow custom overall headers based on forum (based on a similar hack found here). I've managed to get the forumdisplay part working correctly, but am having some trouble getting the custom header to show up in showthread.

I know I need to select the forumid from the thread table, and then apply that value towards the custom header (header being based on the forum you're in).

This is what I have to select forumid from the thread table:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The part I can't figure out is how to take the value returned from that query and apply it towards the query for the custom header.

This is what I have for selecting whether or not to use the header and the value for the custom header, based on forum:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Looking for any help here; I don't claim to be an expert .
Reply With Quote
  #2  
Old 28 Jun 2004, 15:32
starsitesnet starsitesnet is offline
 
Join Date: Jun 2004
Changed it to this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And it works
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 15:47.

Layout Options | Width: Wide Color: