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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by minsan

  1. minsan

    preventing dynamic mp3 from slowing movie down

    Hey everyone, I hope someone has some prior experience on this one... Here's what I wanted to do. I want to trigger events in a presentation-like Flash movie using dynamic mp3 files. So, in Flash MX, I created a sound object from a dynamically loaded mp3 file. Using the sound.position...
  2. minsan

    LIKE operator; problem searching

    duns, You might be on to something. How do I create that lookup table that combines the data from the two tables? minsan
  3. minsan

    LIKE operator; problem searching

    tleish, I think my reply to your second suggestion was inaccurate. I must have left off the cfparam line or something. Anyway, I tried your suggestion again and it only works if I search for an individual employee. When I search for ALL, I get 16 results. Here's the SQL statement from the...
  4. minsan

    LIKE operator; problem searching

    To this forum's experts... Can somebody at least tell me whether the problem I described above has a possible solution? Maybe I can stop looking for answers if there isn't any. Thanks. minsan
  5. minsan

    LIKE operator; problem searching

    tleish, I tried your suggestion and here are the results. When I enter an individual employee, it works. I entered 102 and it picked out Projects 1, 2, and 3. But when I entered 0 for ALL, I got 0 results. It didn't error out, but no records were found. I think it might be because of this line...
  6. minsan

    LIKE operator; problem searching

    I tried IN instead of LIKE, but I got an error saying cannot convert '101,102,104' to data type int. Unofortunately, because of the way the system is set up, projects.employee_id must be a string data type and employees.id must be an integer data type. So, I just can't change the data types...
  7. minsan

    LIKE operator; problem searching

    I'm having trouble using the LIKE operator in one of my cfqueries. Here's some background info. I have two tables, namely, Projects and Employees, like so: PROJECTS Table index title employee_id 1 Build DB 102 2 Create Graphics 101,102,104 3 Write Code...
  8. minsan

    crypt, encrypt, and decrypt problem

    Thanks! I didn't know crypt() is a one way function.
  9. minsan

    crypt, encrypt, and decrypt problem

    I have a simple question. What is the opposite of the crypt() function? minsan
  10. minsan

    CFFTP PutFile transfers 0 bytes...

    I think that just did the trick. Thanks very much!! minsan
  11. minsan

    CFFTP PutFile transfers 0 bytes...

    I've searched this forum's archive and found a thread back in May that was similar to my problem, but that was left unanswered. So I'd like to re-open the issue. Hopefully someone can help this time around. I'm trying to move or copy a file from a Cold Fusion server (running Win2000) using...
  12. minsan

    pushing the str_replace function limits

    Vic It looks like strchr() and strrchr() will only find the needle. What I really need is a function that will replace the needle. As far as replacing the nth occurence, has anybody out there written a custom function like this before? I've searched the forum archives with no luck. minsan
  13. minsan

    pushing the str_replace function limits

    Is there a way to customize the str_replace function so that instead of replacing ALL occurences of the string needle, it will only replace the first occurence? or maybe the last occurence? or the n th occurence? Any ideas would be appreciated. minsan
  14. minsan

    Downloading a File from php code

    What is the simplest or quickest way to make a form button download a file that's in the same directory as the php file? Is there one such function? I'm trying to make a button open up the File Download dialog box that the browser pops up when it's about to download a file.
  15. minsan

    ?? for those who know ColdFusion and PHP

    Thanks! I didn't know about that trick. Now I can create my list using a loop.

Part and Inventory Search

Back
Top