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

    mktime issue

    Morning all, I have a table containing 4k+ records each has a date stored as a text field in the format d/m/yy (ie 01/01/99 or could be 1/1/99). Ive ran a script against the table to populate the UNIX date for each record using a straight forward logic of splitting the date into its day/month...
  2. pease

    Remote mySQL problem

    Hi all, I have a client on one server who logs into my content management system on another server, this CMS then connects to his database (on his server) to carry out the updates. All was fine and dandy until yesterday. My hosting company moved all sites over to a new server and as a result...
  3. pease

    Creating calculations within a database table

    Hi all, The heading probably doesnt make it clear at all what Im after, I want to setup a database which will allow the user to enter a calculation within a field. For instance in its simplest form, the table could contain 3 fields Data1 Data2 Calculation You could enter 2 3 Data1 + Data2...
  4. pease

    Custom field calculations

    Hi, I have inherited a large document which needs to be updated annually (it relates to Statutory Payments in UK PAYE). Dates and values need to be updated which is a real pain time wise. Im looking to automate as much as possible so because a number of things are repeated within the document...
  5. pease

    Session problem

    Morning (or afternoon depending on where you are!) I have a problem with a very basic session script. I have two pages, page1 and page2, for debugging purposes currently each page starts with session_start(); if(!isset($_SESSION['userid'])) { echo "no session"; } else { //do code for page...
  6. pease

    clearing rubbish out of database emails

    Hi all, For some reason our organisation decided to issue a 16 item Questionnaire to our members via an email rather than secure form. Now I have the task of collating the results which is proving to be a pain! Basically, we sent a couple of paragraphs of text followed by the 16 Questions and...
  7. pease

    simple JOIN query

    HI, I am attempting a straight forward join but cant seem to get it to work. Two tables (fullsubs) and (towns) the fullsubs table holds among other things the UK postcode of the member. Table two contains the prefixes of postcodes (2 chars) and the correspoding town/city. I want to get a...
  8. pease

    incorporating the AA route planner

    Firstly, apologies if this isnt the correct forum for a question of this sort. I was wondering if anyone had any ideas of how to incorporate the extremely good AA route planner into their own site? It doesnt use nice simple php type URL requests so I dont think I can just construct a relevant...
  9. pease

    MySQL UPDATE - Heeeeeeeelllllp!!!!!!!

    This is got to be something really really silly but I've now been banging my head off a desk for 5 hours with it. Heres my code. $thequery="INSERT INTO news VALUES('','$heading','$link','$blurb','$nowtime','$datekill')"; if ($hideid) { $thequery="UPDATE news SET heading = '$heading',link =...
  10. pease

    Passing an echo value to a function

    Not sure if I can explain this but here goes. Im writing a few functions and the main one I will want to use is a simple straight forward "grab results from a SQL query". In the past Ive written each one seperately however Im now starting to get properly into OOP and am using classes (yay...
  11. pease

    height of a main content div

    Hi, Me again! This is related to the same site I talk about in the internal links question. The bulk of the site is one long page of repeating divs with a class Ive called "main" all are sitting in a single div called "content" the CSS for these is as follows: .content { display:block...
  12. pease

    internal a href links

    Good evening all, Todays problem (should you wish to help me out) is one thats probably extremely simple but its losing me! I have a single page long length scrolling site with a fixed header (that everything scrolls up underneath). I want to have internal links which will sit in the header...
  13. pease

    unatuhorised embed of my site

    Hi, One of the sites I run has been embedded into a third party via an iframe. I have tried contacting the party on a number of occasions but had no joy in getting it removed. This is now harming our sites reputation and business, is there any way to deny the data if its being used in an...

Part and Inventory Search

Back
Top