-
Content Count
744 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Articles
Gun Dealer's and Fieldsports Shop's
Reloading Room
Blogs
Calendar
Store
Classifieds
Everything posted by mangy1983
-
Well don't know if this is the best way but l managed to recode the loop to create incremented variables assigned to each value so that l can now implement them to a database. Here is my completed code if it helps someone and special thanks to anyone who helped me cheers Callum <?php $doc = new DOMDocument(); @$doc->loadHTMLFile('http://www.metoffice.gov.uk/weather/uk/he/stornoway_forecast_weather.html'); //load the file; $desired_rows = 1; //How many rows you want from the table. $table = $doc->getElementsByTagName('table'); //get our tables out, it should return 2 from th
-
One of the lads over at the phpfreaks forum wrote this code for me but the website keeps on going down. It has been down now for over an hour. The code below pretty much does whats asked bar that l want each tds element saved as a variable so that l can upload it to an mysql database. I would run this using a cron job at a 3 hour interval to run in conjunction with the met offices update. The output of the below code can be seen here: http://www.syaa.co.u...obs/Weather.php <?php echo '<style type="text/css"> table { border-collapse: collapse; } table, th, td { border: 1
-
Thank goodness buddy tearing my hair out here! I'm trying to screen scrape the top row of information only from this web link: http://www.metoffice...st_weather.html to create my own weather widget as l don't like the colour choices they give you and they don't suite my site. This info would be saved on my own database and updated every 3 hours using a cron job to update the information. I would like it if possible to pick each separate piece of info and place it in a variable but the code l found closest to what l need is this one found here but even this one does not work lol <?php
-
I'm not sure l understand you there mate. Are you saying l should use their official widget or that what l would like to do is against their terms and conditions? cheers Callum
-
Thank goodness buddy tearing my hair out here! I'm trying to screen scrape the top row of information only from this web link: http://www.metoffice.gov.uk/weather/uk/he/stornoway_forecast_weather.html to create my own weather widget as l don't like the colour choices they give you and they don't suite my site. This info would be saved on my own database and updated every 3 hours using a cron job to update the information. I would like it if possible to pick each separate piece of info and place it in a variable but the code l found closest to what l need is this one found here but even this on
-
A wee bit stuck with a code so if anyone in the know might be able to help? cheers Callum
-
Nah Don't know him mate. Any idea what estate he might have worked at. Cheers Callum nah i dont mate.he wrote a book few year back,well i say a book.it was just all the grid refrencences on birds nesting on the island.there was a bit of a stink about it.cause they thought it was a perfect tool for egg collecters.i have a copy in fact.he a sound guy and defo knows his stuff,but a total bomb scare with a drink in him. I've heard of the book now you mentioned it but never knew the name of the author cheers Callum
-
Nah Don't know him mate. Any idea what estate he might have worked at. Cheers Callum
-
There'll be plenty more, don't panic.. Don't l know it! This was our house after the big storm of 2005. We lost all the slates on one side of the house but they were the crappy manufactured ones that snap like crackers. Been replaced now with real Spanish slate
-
Ahh, the boots on the other foot! It missed the Isle of Lewis entirely.
-
Imo they should never have killed him off in the first film
-
Used a manual tow wrench type of tool to pull her upto the shoreline as she had sank out at the pink buoy. She weighed a tonne full of water and the stern of the boat was dragging the seabed which is muddy thankfully as the outboards were weighing it down. The pictures were taken at low tide and we went back down at high tide and managed to pull her up to sit on a ledge that we couldn't get her upto at low tide. Went back down at low tide emptied her out, rotated turned her bow so that she was parallel to the shoreline as she was lying at a 45 degree angle and she successfully re-floated on th
-
Doesn't matter at all mate, just thought it was an interesting question. cheers Callum
-
Nah mate never tried. Tbh lm just the type of person who would buy paper dishes and plastic throwaway cutlery to get out of doing the dishes!
-
Precisely how I'm going to be doing it from now on Simoman. The only problem lm going to have now is trying to tell TWO women that they are doing it the wrong way! Anyone got any tips for doing that? cheers Callum
-
Jaws sank my boat!
-
Thanks for the replies guys, some informative and some just cracked me up! Think I'll be doing them as the old man says to do them from now on cheers Callum
-
This might seem like a boring topic but hear me out lol. Its very rare to see me washing dishes and when l do it is usually because l have dirtied all the dishes and have no choice but when l do l usually wash them under running tap water as both my sister and girlfriend have both said that it is better to do it this way as otherwise you are washing them in stagnant dirty water if you fill up the sink with water and do it that way against a constant flow of clean water. My old man on the other hand moans that l use a ton of water doing it this way and that l should just fill the sink up and wa
-
Don't you mean... [media='']http://www.youtube.com/watch?v=8gciFoEbOA8[/media]
-
Thats no me in the video, the quack told me l had pilonidal sinus when l went to see him and that l had to have an operation as soon as to have it removed. The video is one l found on YouTube when researching what it was as l had never heard of it before cheers Callum
-
I know mate I really wish l hadn't watched that exact video of YouTube before my own operation to have one removed cos l was fair bricking it afterwards lol
-
Wow great and unexpected catch that! I'll have to watch out for them, on the great white front l think l will start carrying a gas cylinder and start taking my rifle out with me cheers Callum
-
After doing a bit of googling on the net l found photos of the gun that protected St Kilda and the guns that protected Stornoway harbour during the wars and after looking at them they might not be as old as that cannon but still pretty old cheers Callum
-
True! I was on the Clansman a few years ago with my girlfriend and her mate in quiet rough weather. They and most of the passengers were lying down seasick (again) and I went down to the bar and l was the only one there! It was pretty hard walking as the ferry was pitching side to side quiet badly. I walked up to the bar like a staggering drunk although completely sober and ordered a beer, whisky and steak and chips and was about to wait at the bar when the barman told me to have a seat and they would bring it over themselves. It went down nicely and more importantly it stayed down which in m
-
Oh and the Isle of Lewis ferry is due to get replaced in the next 5 years cheers Callum
