Hi there everyone:

I have a genericphp/MySQL search+retrival mechanism. Generic in that it takes table 
fieldnames and fieldtypes as form lables and element names. However, because of this I 
hard-code my SQL queries as they need to be as generic (univerally useful) as possible.

I therefore have a lot of "SELECT * FROM <table_name>..." queries. However I would 
like to be able 
to specify a particular column ('modified') to appear under specific circumstances, 
somewhere along 
the lines of: "SELECT *,!modified FROM <table_name> .." I scanned TFM and couldn't 
find anything 
specific to my problem. I have an incling this may not be as easy as I think, so does 
anyone know 
of a bodge,kludge or workaround??

Thanks for your time.

  "Believe nothing - consider everything"       
  Russ Michell
  Anglia Polytechnic University Webteam
  Room 1C 'The Eastings' East Road, Cambridge
  w: www.apu.ac.uk/webteam


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to