Jump to content

JohnS

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by JohnS

  1. Continues getting same the same error. You can see it here: www.stugsajt.se Thanks
  2. Continues getting same the same error. You can see it here: www.stugsajt.se
  3. What would the input in RegEx be if I need the content of #pricing_goldCurrent be? I found: #<div\b[^>]*class=([\'"])?votes(?(1)[\'"])[^>]*>.*?</div>#s however it doesn't work translate here to my div id. Thanks.
  4. Hey, Thanks for your answer. I've been trying to use your code for quite some time now and also others Simple HTML DOM parser code but most of it returns me a page which says server error. Tried many different codes but nothing is working. I have put the simple_html_dom.php file in the root folder together with the index.php file, doesn't work though. Got any idea how to resolve this? Thanks
  5. Hi, I will start off trying to explain what I am trying to make the best I can. What I want to create is a script that gets the gold value from this website: http://www.lbma.org.uk/pages/index.cfm?page_id=46&title=current_statistics and then save it to a variable which I will use to calculate values of different gold karats. Here is the content in bold I need on the website I linked: So what help do I need? Well, I don't expect you to figure out the calculating part for me but some help how to get that content pointed out above and save it to a variable is what I would appreciate getting some help with. I don't know much PHP, only some and I have been trying to figure this out for a day now without any success. I suppose php get contents and/or curl should be used here but I don't know how really. I would very much appreciate the help I can get on this. Thank you!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.