PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 24th, 2003, 11:39 PM
chaldoray chaldoray is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: California
Posts: 10 chaldoray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Need help on pat system, and a php question...

How would you use patsystem for your templates in php? How would it make it easier? Where can i learn more about this? Can anyone show me a example of their site using patsysystem, that would help me a lot and give me a idea, if you can help me out i'd appreciate it a lot thanks...

Also, Is their a script for making a today's featured sites, For example, like when you have a lot of sites in your database it well pleace today's features site's like the one's that people view the most, etc...? Anyone know what i'm talking about? If so, where can i get the tutorial.. Thanks a lot guys.. I am learning more php with my books, i also want some good tutorials online, later guys..

Reply With Quote
  #2  
Old October 25th, 2003, 05:12 AM
thecharking thecharking is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 187 thecharking User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to thecharking
im not quite sue what you mean but I have an idea, with the poular sites, here's what I would do:create a table for siteclicks. add a small script that wil update the number of clicks by one, the table would look like this:

clickId linkId clicks

I THINK, but I am far from php knowledgability, I just thouhgt I'd tell you what I would do, and I'm looking forward to a better way perhaps? Anyway, with this method, you then just query for which links have most clicks:

PHP Code:
 $getMost mysql_query("SELECT clicks FROM clickTable ORDER BY clicks ASC"); 


I think that's right.... i hope this helps and I want advice on this now too...
__________________
hey it's the CHARKING

Reply With Quote
  #3  
Old October 25th, 2003, 04:37 PM
chaldoray chaldoray is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: California
Posts: 10 chaldoray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok,thanks man... Need a better way :P

What do you use patsystem for?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Need help on pat system, and a php question...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT