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

  1. sunbase

    extracting values from same field different row using different where statements

    I have a table called `employment` that contains two INT references named `employer` and `employee`. As a person can be either or both I have a single table named `personnel`. I am trying to construct a query that displays personnel.name as `employer` where employment.employer=personnel.id...
  2. sunbase

    copy an image file from a PHP url

    Must be the way I am sitting :) Thank you guys for your efforts - much appreciated as always.
  3. sunbase

    copy an image file from a PHP url

    does it copy a nice picture of a building (which displays nicely as an IMG SRC) or a image not available graphic?
  4. sunbase

    copy an image file from a PHP url

    I am extracting data from an XML file (with full consent) and I use the file to identify and copy files. From other similar feeds I simply identify the URL of the image then use copy ($from,$to) but in this case I have isolated the image file to...
  5. sunbase

    writing to a table before calling a URL

    Thank you all so much for your interest in and help with my little problem - just to explain more all I wanted is to keep a record of visits to a certain page by my colleagues on beahlf of client and when - mainly so I can demonstrate to the client what we are doing on their behalf sort of...
  6. sunbase

    Create Dynamic charts with PHP and MySQL

    For simple charts have you tried Google? Just output the data in the right format and you can get nice charts, graphs etc - one of mine (please excuse any bad coding) <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript">...
  7. sunbase

    writing to a table before calling a URL

    I want to monitor who calls a URL and when so I want the click on the link to write to a table before executing the link is this possible and how does a simpleton like me make it happen? Please keep it simple if possible.
  8. sunbase

    File Exists - remote file

    I am importing data from an XML file including .jpg files and I am using the copy command. All works well unless the remote file is missing when I get an error. Following advice from a colleague I have tried using getimagesize() but if the image doesnt exist I am still getting an error message...
  9. sunbase

    using str_replace to remove html para tags

    Well that's bizarre - took the line out, typed it back in exactly "as was" and it works.... sorry if I wasted anybodys time and, as usual, thanks for the help
  10. sunbase

    using str_replace to remove html para tags

    Sorry the semicolon was a typo. I am just looking to strip out the tags not the para content.
  11. sunbase

    fillable pdf - Is it possible?

    I am using pretty old code (2007) to generate PDF files but I am sure with the improved PDF support there is more efficient ways of creating the PDF but basic principle stays the same - I have a fillable, amendable form and only once the information is correct does it create the PDF - keeps it...
  12. sunbase

    using str_replace to remove html para tags

    I am missing something but I have successfuly imported data from an XML file but am having problems with the simplest of tasks - the data contains a string containing <p> and <p /> html tags but my attempts to remove them and replace them are failing - $newpara=str_replace("<p />;","...
  13. sunbase

    504 Gateway Time Out puzzle

    I have code to extract data from an XML feed and post it to mySQL tables. $propertyid = $objDOM->getElementsByTagName("property"); foreach( $propertyid as $value ){ etc etc } It works fine - it extracts the data, corrects formats where necessary, corrects data errors and successfully post to...
  14. sunbase

    PHP5.4 Global or Session Variables?

    So I can still read session variable using $_SESSION['authy']. but how do I assign a value to it in the first place? All references I can find in manual simply say <PHP5.4 Apologies if asking ultra-obvious stuff but I have tried and, as they say "if you dont ask". Your time and patience...
  15. sunbase

    PHP5.4 Global or Session Variables?

    I have a simple problem that I cannot seem to sort in 5.4. I have a website login which validates user login with the usual ID and password requirements. What I am truing to do in 5.4 which I successfully achieved in PHP4 is to create a static or session variable to hold a value which...

Part and Inventory Search

Back
Top