Reply to Re: Simple Logic Question

Your name:

Reply:


Posted by Matt on 08/27/07 11:43

On Aug 27, 1:45 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:

> IF they aren't authorized, they won't get the article, even if they
> guess the URL.

This is the part I'm having trouble with. Norman's method will work
fine to print a list of links to articles depending on user access
rights, but my issue is for displaying a specific article. I just
can't figure out an efficient way to test a) if the article IS premium
and b) if the user is premium without repeating my 'output article'
code.

I can't build my SELECT statement based on privileges because I have
to make the SELECT in the first place to establish whether or not the
article is premium content or not!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация