Jump to content

map200uk

Members
  • Posts

    137
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

map200uk's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi , does anyone happen to know of anywhere that offers the NBA scores in XML format? i cant find anywhere with a feed containing all the info i.e scores for the quarters off topic i know, which is why i posted it in this section of the forum! thanks! mark
  2. yep, thats correct, the lite version-the normal version www.betfair.com would be way too hard the thing is , if you look at http://lite.betfair.com/Market.do?s=00010920777112x1z You see the table, that's what im not sure what to do with? How to extract the data from the table Thanks for replying mate - if you have any suggestions / help i do appreciate it
  3. someone must be able to help? I'ts just the table...
  4. Hi, I am trying to figure out how to extract the data i want from betfair-i figure using the lite version of betfair would be easier (lite.betfair.com) however i am a bit stuck on a couple of issues: http://lite.betfair.com/Market.do?s=00010920777112x1z Markets > Boxing > April Bouts > Bouts 19 April I would like each of those as their own variable - str_replace on > would solve that i believe However when we come to the table I am not sure quite how to handle it - the table as shown in the link has 4 rows, 3 columns I would like to extract each value from the table rows/columns as it's own variable, and then be able to use these at a later date. I'm not sure where to start, and how to extract data from the table and make sure that data in the third column is assigned to say 'lay1' 'lay2' on the lay side of things thanks Mark
  5. anyone able to helop? ive tried putting tyhe navBeta div inm another div-all within a container div..but still problems:(
  6. without sounding thick i cant seem to make it work? the html code is:" <div id="container"> <div class="content"> <h1>YMMS - Your Media System<br> </h1> <p> </div> <div id="navAlpha"> <h2>Links</h2> <p> <ul<li><a href=<?php echo "$_SERVER[php_SELF]?page=browseartist&action=browserating"?>>Browse => Ratings </a></li></ul> </p> </div> <div><div id="navBeta"> <h2>*****</h2> <?php $db->query("SELECT COUNT(*) FROM Song"); $row=mysql_fetch_array($db->result); echo "<br> Currently serving \n $row[0] \n files." ;?> <?php </div></p></div> </body></html>
  7. hi, my site works fine in Opera/firefox/netscape but in IE the layout is screwed up there is a container to hold all the divs, then a div on the left (navAlpha) some links on the right in a div (navBeta) and a content div in the middle, when viewed in IE the navAlpha and navBeta endup as navAlpha on left and navBeta underneath on left too if someone has any idea or can point me in the right direction, that would be great thanks html, body, #container { min-height: 100%; width: 100%; height: 100%; margin: 0; padding: 0; } html>body, html>body #container { height: auto; } #container { position: absolute; top: 20px; left: 0; } body { color:#333; background-color:white; margin:20px; padding:0px; font:11px verdana, arial, helvetica, sans-serif; } .Content>p {margin:0px;} .Content>p+p {text-indent:30px;} .container { position:fixed; width:auto; min-width:120px; margin:0px 210px 20px 170px; border:1px solid black; background-color:white; padding:10px; } .content { position:relative; width:auto; min-width:120px; margin:0px 210px 20px 170px; border:1px solid black; background-color:white; padding:10px; } #navAlpha { position:fixed ; width:150px; top:20px; left:0; border:1px dashed black; background-color:#eee; padding:10px; z-index:2; voice-family: "\"}\""; voice-family:inherit; width:128px; } #navBeta { position:fixed ; width:150px; top:20px; right:0; border:1px dashed black; background-color:#eee; padding:10px; z-index:3; } map
  8. what you say makes perfect sense, thanks! but, 'string strstr ( string $haystack, string $needle ) Returns part of haystack string from the first occurrence of needle to the end of haystack. ' wouldnt it mean it returns 'mp3' then? sorry if im being dumb=]
  9. hi, im having trouble with part of my code, trying to use a switch inside a foreach i just cant get it to work foreach ($test as $value) { echo "<br><br><b>MP3 found => \n $value</b>"; // $i=$i+1; // echo "<br> \n $i"; echo "abc"; // echo "<br> new path is \n $path"; switch($value) { case strstr($value,"mp3"): echo "<br> mp3 found \n $value"; break; case strstr($value,"ogg"): echo "<br>ogg found \n $value"; break; } } if i do if strstr it works tho?! could someone tell me if the code is wrong or what, ive looked on php.net manual and my code looks ok> thanks
  10. hi i cant seem to manage to make my layout work how i want, i have included a screenshot, i want to have the copyright © Mark (me) at the VERY bottom of the page and the YMMS beta 1.0 div which i guess could be called 'news' to be under the content div but above the footer the content div is named 'content' the right menu with the playlist is called navBeta and footer, appropriately named footer ive changed my css a bit, and it seems to work on some pages where i call the css, but not others (including pages using php includes) body { color:#333; background-color:white; margin:20px; padding:0px; font:11px verdana, arial, helvetica, sans-serif; } h1 { margin:0px 0px 15px 0px; padding:0px; font-size:28px; font-weight:900; color:#ccc; } h2 { font:bold 12px/14px verdana, arial, helvetica, sans-serif; margin:0px 0px 5px 0px; padding:0px; } p { font:11px/20px verdana, arial, helvetica, sans-serif; margin:0px 0px 16px 0px; padding:0px; } .Content>p {margin:0px;} .Content>p+p {text-indent:30px;} a { color:#09c; font-size:11px; font-family:verdana, arial, helvetica, sans-serif; font-weight:600; text-decoration:none; } a:link {color:#09c;} a:visited {color:#07a;} a:hover {background-color:#eee;} .content { position:relative; width:auto; min-width:120px; margin:0px 210px 20px 170px; border:1px solid black; background-color:white; padding:10px; z-index:3; } .footer { position:fixed; width:auto; bottom:0; min-width:120px; margin:0px 210px 20px 170px; border:1px solid black; background-color:white; padding:10px; z-index:3; } #navAlpha { position:fixed ; width:150px; top:20px; left:0; border:1px dashed black; background-color:#eee; padding:10px; z-index:2; voice-family: "\"}\""; voice-family:inherit; width:128px; } #navBeta { position:absolute; width:190px; top:20px; right:20px; border:1px dashed black; background-color:#eee; padding:10px; z-index:1; voice-family: "\"}\""; voice-family:inherit; width:168px; } #search legend { display:none; } #search label{ font:90% Arial, Helvetica, sans-serif; } #search fieldset { border:none; margin:0; padding:0; float: right; } #sfield { background:#e5e6ee; border:1px solid #cccccc; font: 0.9em Arial, Helvetica, sans-serif; padding:2px; width:130px } #sfield:focus, #sfield.fieldfocus { background:#ff99cc; } #sbutton { font:0.9em Arial, Helvetica, sans-serif; border:1px solid #ece9d8; color:#fff; padding:1px 3px; background-color:#999; margin-left:3px } #search form { float:left; padding: 0px 0px 5px 5px; } all i want is simply the right menu/left menu as they are, the content in the middle, and the footer at the bottom would it be a better idea to make a container layer which all of them are within? altho this caused issues when i tried it thanks map
  11. thorpe, the files arent uploaded so its not an issue, the files are catalogued off files on the local drives/network drives, isnt it possible to handle spaces and echo the full string including spaces? In an ideal world yea, no spaces in filenames-sadly there are:( if you could point me in the right direction, much appreciated am i right thinking something to do with \ and quotes? Or completely wrong:(
  12. i only just realised in testing, if a string has spaces it causes problems as the string may be say \vault\test title bla bla.mp3 so when i have the link with ?path=path the whole string is not passed due to the spaces, and urlencode adds + + which when the link is clicked will cause the system to not be able to find the file echo "<a href=streamfile.php?action=stream&&path=http://$_SERVER[sERVER_ADDR]'$result[playpath]'&type=pls>Stream file</a></td>"; how could i fix this so the full string including spaces is passed? i cant remember i thought it was something to do with quotes or using \ ? thanks
  13. now its working again-using function addtoPlaylist() { $play=array(); $play=$_GET['path']; //echo $_GET['path']; $_SESSION['song'][]=$play; } i dont see what the difference is?!
  14. still not working-any ideas what could be causingthis?
×
×
  • 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.