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 bkrike 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: JamesManke
  • Content: Threads
  • Order by date
  1. JamesManke

    Strip out variable values

    Hi there, I have a variable with the following value... [size=18:5aa59a030f]TIPS & TRAPS FOR LANDLORDS[/size:5aa59a030f] I want to strip out anything in between the [] so that I am left with ... TIPS & TRAPS FOR LANDLORDS How would I go about doing this? Thanks for your help!
  2. JamesManke

    Date help

    I have a variable in my database called date. Example: Say the variable date in the databases value is 2005-05-05 How do I make this variable say... May 5th, 2005
  3. JamesManke

    MSSQL DB setup troubles

    Hi there - I have NEVER had to set up a MSSQL DB before - I usally use MySQL. I have a client who wants me to transfer her site over to our new hosting and I need to find out how to set up the database. I have 2 files ( .LDF and .MDF) that were given to me to set this site up. I also have a SQL...
  4. JamesManke

    Spacing issues in IE

    Hey there. I am having some spacing issues with a site that I am creating. It looks great in Firefox (of coarse!) but in IE there is a space under "Shopping Basket" link. Aswell the Image berkal_bottom.jpg on the right hand pane is not valign bottom due to the height of the table. IE does not...
  5. JamesManke

    Escape character will not XHTML validate!

    When using the code below internally on my page (which I must do because I am using ColdFusion variables), the page will not XHTML validate because of the escape "\". Is there a way around this? Example: <script language="JavaScript" type="text/javascript"> document.write("&nbsp;<a...
  6. JamesManke

    change the selected item

    Is there a way to have javascript change the selected item in a select box without refreshing the page. Thanks
  7. JamesManke

    Change CF variable via javascript

    After using javascript to change the value of a field without refreshing the page is it possible to store the changed value information into a CF variable? Thanks Heres what I got so far... <script language=javascript> function changeColor(newColor) {...
  8. JamesManke

    Change filed without refreshing page

    What I want to do is have it so when you select a color in the form, it automatically changes the field "color_change" without refreshing the page. Here is the code if you would like to alter it and post back. Thanks <table> <tr> <td name="color_change" id="color_change">Show Color Name...
  9. JamesManke

    Finding variable in array

    EXAMPLE: session.cart[1].id = 23 session.cart[2].id = 54 session.cart[3].id = 76 What is a function that can find a certain id. What I want to do is scan the array and see if a certain id remains in the array. For example, if I scanned the array shown and asked if id number 54 was in it, it...
  10. JamesManke

    Clear Session?

    Is there a way to clear a session based on it cftoken and cfid. I need to specify the cftoken and cfid in order to clear the right session. Thanks
  11. JamesManke

    Carry over sessions?

    I have run into an issue where I have to send a query to a outside merchant account where it then comes back to my site to an approved or declined page. The problem is, when it returns to the approved or declined page it starts a new session. How can I carry over the same the session so I dont...
  12. JamesManke

    anti-popup blocker?

    Any body out there have a script for opening popup windows that won't be reconized by IE popup blocker. I would like to avoid the blocker from poping up when people try to view the "larger image - popup". Thanks
  13. JamesManke

    Load bar sticks when using function

    When I use this script in Firefox, the load bar sticks at half way, although the image completely loads. Works fine in IE, just function larger(n,p,w,h) { var win = window.open("","","width=" + w + " , height=" + h + " , top=100 , left=100 , scrollbars=no, resizable=no")...
  14. JamesManke

    Redirect to url

    I was windering how to redirect to a url in the middle of a script. I have tried this but had no luck, <CFIF variables.pass EQ "Yes"> <CFINCLUDE TEMPLATE="http://www.google.com"> </CFIF> I need to be able to redirect in the middle without using javascript, or header tags. Thanks for your...
  15. JamesManke

    Form value using array?

    I am trying to create a variable from an array on my previous page. page1.cfm ... <form method="post" action="page2.cfm"> <CFLOOP INDEX="counter" FROM="1" TO="#ARRAYLEN(session.cart)#"> <input type="text" name="wrapit_#counter#" /> </CFLOOF> </form> page2.cfm ... <CFLOOP INDEX="cart_count2"...
  16. JamesManke

    Inserting .MDF and .LDF files into MSSQL?

    Let me start by mentioning that this is the first time I have ever had to set a DB on MSSQL. I have two files that I need to be upload? to MSSQL DataBase. I have already created the DB, username and password. I just need to know how to upload these files. I am used to MySQL where I would simple...
  17. JamesManke

    Alagad Image Component file size?

    I recently started using Alagad Image Component and to my surprise found that once reading an image and then writing it, the file size was larger than the original. Here is am example below... <cfset myImage.readImage("my_path\test.jpg") /> <cfset myImage.writeImage("my_path\image.jpg", "jpg")...
  18. JamesManke

    PHPSESSID not working???

    I am having trouble sending PHPSESSID through the URL. Here is my code... <?php session_start(); $_SESSION['favcolor'] = 'green'; $_SESSION['animal'] = 'cat'; $_SESSION['time'] = time(); echo '<br /><a href="page2.php?PHPSESSID=$_PHPSESSID">PAGE 2</a>'; ?> When I click "PAGE2" it...
  19. JamesManke

    More than one apostrophe - no insert

    When submitting more than one apostrophe in a sentance through a form(in this case the comment), it will not insert into the database? With one apostrophe, no problems. Any more and it just doesn't Insert it. I need some help on this one. Example: Heres the form... <form method='post'...
  20. JamesManke

    Remove from right

    Hi there, How would I remove the first 2 numbers of a string? Example - 33789 would be 789 Thanks for your help, James

Part and Inventory Search

Back
Top