Jump to content

How Do I Write This Code ?????

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
11 replies to this topic

#1
byronwells

byronwells

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts
Alright Php Coders please take a look at this page.... http://www.digitalre....e_Label_Rights

What I would to be able to do is to create a normal url link for the Newest Product part but then have it link to the categories section. But have it linked to the newest categories at all time...

Hope you guys understand.. I can supply you with the categories code if needed be.. This is taken automatically from a database

#2
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
The link doesn't work for me.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#3
byronwells

byronwells

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts

thegamemaker said:

The link doesn't work for me.

Try this
Untitled Document

#4
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Yep that link works, but I don't know how to fix your problem sorry.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#5
byronwells

byronwells

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts

thegamemaker said:

Yep that link works, but I don't know how to fix your problem sorry.

Then why mention something in the first place? NOT nice to be used to get your posts up....

#6
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
I wasn't trying to get mt posts up I was just trying to be nice and tell you your link wasn't working if I wanted to get my posts up I'd go to the lounge and play one of the games.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#7
byronwells

byronwells

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts

thegamemaker said:

I wasn't trying to get mt posts up I was just trying to be nice and tell you your link wasn't working if I wanted to get my posts up I'd go to the lounge and play one of the games.

Whatever...

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You mean like a redirect, but handled by the server?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
byronwells

byronwells

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts

WingedPanther said:

You mean like a redirect, but handled by the server?

In a way yes.....

When you click on the newest product link, it will show the lastest/newest category that has been added to the membership site..

For example

Within the admin area of the script I create a brand new category called jan 2010. That category is automatically displayed under the categories section on the left hand side...

The newest product link will pick up that category. And then display all products underneath that category..

Then we go and add a new category at the end of this month called Feb 2010. Again that is automcatically displayed under the categories section.

The newest product link will reckonise the new category and revert to that one..

So on so on

#10
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You'll need some PHP to handle that. Also, you'll need a way to decide what that category is.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#11
byronwells

byronwells

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts

WingedPanther said:

You'll need some PHP to handle that. Also, you'll need a way to decide what that category is.

Lol I know that... :) :)

But I am trying to find out what

#12
Feral

Feral

    Programmer

  • Members
  • PipPipPipPip
  • 162 posts
There is little that can be said without knowing anything about the code for the site.

What I can surmise is that the link to the Newest Projects is being generated by script somewhere on the site. You can simply create a new page called newestprjects.php and use the code that generates the link to populate that page the same way.