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 SkipVought 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: *

  1. SPYDERIX

    eregi

    Ok cool. Thanks. I honestly have never fully grasped REGEX. It seems complicated to me NATE
  2. SPYDERIX

    eregi

    I have been out of the programming game for a while now and I've tried to implement an old script I created but now have an error saying the eregi() function was removed and it throws an error. How would I re-write this now: if (empty ($_POST["var"]) || !eregi ("^[0-9]+$", $_POST["var"])) { //...
  3. SPYDERIX

    I suck at RegEx

    Beauty! Thanks NATE
  4. SPYDERIX

    I suck at RegEx

    Can someone please help me. I have an html tag:<div id="myid" class="myclass " data="QAZwsxedc12345.pdf" data-height="100" data-width="100"> I'm trying to use regex to find this div which has a unique id and I want to strip out the data portion that has the PDF file name. I was trying...
  5. SPYDERIX

    PayPal Buy Now

    Hi there, I am trying to create a simple paypal buy now button to renew memberships on our website. The user has to be logged in and the system auto generates a random string for the session which I then want to pass to paypal via their buy now buttons and then have paypal give it back so I can...
  6. SPYDERIX

    Query within a query and use headings

    Groovy thanks! NATE
  7. SPYDERIX

    Query within a query and use headings

    Hi there, I have a db table that is for activities that uses unique ID numbers and another table that references those ID numbers but in a comma separated format. I'm working within a framework that is setup like this from a proprietary system so can't change this format. I want to do a query...
  8. SPYDERIX

    GeoLocation Variable problem

    Thanks I was only using document.write to see if the variable was passing or not, I won't actually be using it at all. Wanted to know the variables were setting properly before using while calling another function. NATE
  9. SPYDERIX

    GeoLocation Variable problem

    Hi there I have a fairly simple problem I'm hoping someone can help me with. I have the following script <script> var my_lat; var my_lng; function geo_success(position) { my_lat = position.coords.latitude; my_lng = position.coords.longitude; } function geo_error() {...
  10. SPYDERIX

    Date function in Mysql Query

    Ah, that makes perfect sense. Thanks a ton! NATE
  11. SPYDERIX

    Date function in Mysql Query

    That works! I tweaked it slightly to: SELECT * FROM `trips` WHERE `viz` = 'Y' AND DATEDIFF(`date_end`, '2016-01-01') > -30 ORDER BY `date_end` < '2016-01-01', `date_end` One thing I find curious and can't wrap my head around is the ORDER BY statement. Don't get me wrong, this SQL works exactly...
  12. SPYDERIX

    Date function in Mysql Query

    I will try that out and get back to you. Thanks :-) NATE
  13. SPYDERIX

    Date function in Mysql Query

    Hi there, I'm wondering if it's possible to do a certain query in mysql without having to write multiple queries. I have a site that has some travel trips and store the trip date range in 2 fields: date_start and date_end Let's for example assume the following trips: 1 - Hawaii Start...
  14. SPYDERIX

    how to use adobephotoshop5.5

    Really? I thought when I used v5 it didn't have layers at all, although as you said this was a decade ago! NATE http://www.nateryder.com Got a question? Search G O O G L E first.
  15. SPYDERIX

    how to use adobephotoshop5.5

    Photoshop 5.5 was the first version to introduce layers. Think of them as a stack of transparencies sheets (that you literally hold in your hand) and you can put anything you want on them but you always hold them together in a stack. You can change the order of them and layers on the top will...
  16. SPYDERIX

    How do you use VBA to change the TAB color dynamically in Excel 2010

    Sorry: my workbook only 2 sheets. That's what I meant. NATE http://www.nateryder.com Got a question? Search G O O G L E first.
  17. SPYDERIX

    How do you use VBA to change the TAB color dynamically in Excel 2010

    I am going to control all the colors from my one config sheet instead. That will be easier. Ultimately I was thinking of making my sheet only 2 pages, one for a config and one for calculations etc, but the thing is, I need someone to be able to print the whole thing or at least X number of...
  18. SPYDERIX

    How do you use VBA to change the TAB color dynamically in Excel 2010

    Skip, That's brilliant. Pretty much exactly what I wanted, now I'll have to play with this a bit to do exactly what I want. Again, with reference to the above, I will enter data in my config sheet, then each page will calculate the total number of pages. AB7 is a static hard coded number for...
  19. SPYDERIX

    How do you use VBA to change the TAB color dynamically in Excel 2010

    I don't know what doesn't make sense? If I didn't explain myself well enough then that should have been stated, rather than linking to a google search video. In any case here is what I was saying: As you can now see above I have some posted code, from a site I found. The color won't change...
  20. SPYDERIX

    How do you use VBA to change the TAB color dynamically in Excel 2010

    Hi Skip, This is the code I was trying: Sub test() If Sheets("Sheet2").Range("A1").Value <> "hello" Then Sheets("Sheet1").Tab.ColorIndex = 6 Else Sheets("Sheet1").Tab.ColorIndex = -4142 End If End Sub I just created a simple separate .xlsm file with two pages. I followed all the...

Part and Inventory Search

Back
Top