Jump to content

knutsford

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

1 Neutral

About knutsford

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  1. Thanks. I can do it with JavaScript without a problem. I just thought I would try required instead but I had no idea what to use for the pattern
  2. If you use <input required> how do you stop it from allowing just spaces and how do you make sure there is a minimum entry of 8 non spaces. Thanks
  3. knutsford

    laterooms

    Possibly slightly better but still slow. I think the main problem is laterooms sending back so much information that is is slowing it down at their end
  4. knutsford

    laterooms

    I am calling the xml file from laterooms using $xml = simplexml_load_file("http://xmlfeed.laterooms.com/index.aspx?aid=11929&rtype=4&kword=" . $County[0]); where $County[0] is the county name The I am using a loop to echo the contents of 5 of the child nodes foreach ($xml->hotel as $hotel){ } It is very slow so is there a quicker way of using the xml file? There are umpteen child nodes for each Hotel which I don't need which will be slowing it down to start with. Thanks
×
×
  • Create New...