Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: liark
  • Content: Threads
  • Order by date
  1. liark

    Taking this a bit further....

    What I'm trying to do is include a different content file each day, so I tried this, but clearly doesn't work! What I want is to load (today) ./content/91.htm $pth['folder']['content'] = './content/'; $pth['file']['content'] = $pth['folder']['content'].$date("z")'.htm'; Thanks for your...
  2. liark

    Create a number for each day

    php newbie here. Could someone help with what I think is a simple piece of php? I need a number for every day of the year. e.g. Jan 1st = 1, Jan 2nd = 2,... Dec 31 = 365 (or 366). How can I do that in php? Thanks Liark
  3. liark

    Field pointing to same table

    I am a bit stumped. I have a table with an index, the table includes firstname, lastname, and a pointer to the index of the same table, different record. e.g. ID, FirstName, Lastname, Pointer where pointer is the ID of a different record in the same table. What I want to produce is a...
  4. liark

    Sorting on the difference between two fields

    I have two fields in a table..... in my select statement, I'd like to select a variable as THE DIFFERENCE between these two fields. Is this possible? i.e. SELECT (abc - def) AS ghi FROM table WHERE.... this is the code: <cfquery name="gettopmovers" datasource="abc" maxrows=10> SELECT...
  5. liark

    Unique matches in two tables

    Here is my problem: I have two tables, each table contains ten unique letters. How can I compare the two tables to give me the number of matches? eg table 1 has: q, w, e, r, t, y, u, i, o, p and table 2 has: z, t, q, g, j, a, u, s, r, m The answer I need is: 4 I don't need to know which...
  6. liark

    Select correct record from table

    I'm passing accross url.name which is a concatanation of two fields in a database table (forename, surname) Please, how can I select that record from the table? SELECT * from person where 'per_forename per_surname' EQ #url.name# Liark
  7. liark

    Counting all occurancies in a table

    I have a table which has ten fields and any number of records. I have another table with one field and ten records. (it has more than one field really but that is not important) I want to loop through the first table looking through its fields for each occurance of entries of the second table...
  8. liark

    Intranet authentication using NT logon

    Is there any way I can see the identity of a user that has logged into his NT pc so that he doesn't have to re-log in to the intranet? Thanks Liark mark@liark.com www.liark.co.uk
  9. liark

    Passing data to process

    I have gathered all the data from various sources. Do I need to create a form like this to write it, or is there a better way: <cfoutput> <form action=&quot;write.cfm&quot; method=&quot;POST&quot;> <input type=&quot;Hidden&quot; name=&quot;data1&quot; value=&quot;#data1#&quot;> <input...
  10. liark

    No-Refresh Links

    I came across this article and was wondering how to implement this in CF... Any ideas anyone, I think this could be really useful for us. http://www.webmasterbase.com/article.php?aid=314 Liark mark@liark.com www.liark.co.uk
  11. liark

    Which week number are we in?

    I need a bit of code to tell me the week number... can I use DateDiff? Any help would be appreciated. Thanks Liark mark@liark.com www.liark.co.uk

Part and Inventory Search

Back
Top