Search results

  1. R

    Display data from a CSV in a form using PHP

    I did have it for each field but that did not work either. I then changed it to one if statement and that did not work. I am not sure why?
  2. R

    Display data from a CSV in a form using PHP

    I will try that in my code.
  3. R

    Display data from a CSV in a form using PHP

    Changed my code a little now brings back everything other than what is searched: <?php $search = isset($_GET['search']) ? (int) trim($_GET['search']) : null; $search = isset($_GET['search']) ? trim($_GET['search']) : null; $search = isset($_GET['search']) ? (int) trim($_GET['search']) : null...
  4. R

    Display data from a CSV in a form using PHP

    When I do a search for Housing Leeds I want to only bring up data relating to that search, at the moment it brings up the whole table.
  5. R

    Display data from a CSV in a form using PHP

    reopened a new file in sublime: Housing Leeds,Yorkshire LL,3,2013,221,235 Housing Leeds,Yorkshire LL,2,2014,206, Manchester housing,Northwest housing associates,3,2012,134,130 Liverpool properties,Northwest housing associates,2,2012,539,592 Liverpool properties,Northwest housing...
  6. R

    Display data from a CSV in a form using PHP

    Thanks Chris, I will open it up in sublime and add in the commas. Does the rest of the code look okay?
  7. R

    Display data from a CSV in a form using PHP

    Hi Chris, Thats just the way its in Sublime Text, its a .CSV file. Thanks
  8. R

    Display data from a CSV in a form using PHP

    Landlord Landlord group Quarter Year Estimated project costs (000s) Actual project cost (000s) Housing Leeds Yorkshire LL 3 2013 221 235 Housing Leeds Yorkshire LL 2 2014 206 Manchester housing Northwest housing associates 3 2012 134 130 Liverpool properties Northwest housing associates 2 2012...
  9. R

    Display data from a CSV in a form using PHP

    I have done the following: index.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <form action="search.php" method="get"> <label> Search <input type="text" name="keywords" autocomplete="off">...
  10. R

    Display data from a CSV in a form using PHP

    Thanks Chris, I have tried that and managed <?php $row = 1; if (($handle = fopen("test.csv", "r")) !== FALSE) { while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); echo "<p> $num fields in line $row: <br /></p>\n"; $row++; for ($c=0...
  11. R

    Display data from a CSV in a form using PHP

    I am looking at building a simple app that will display data. The data in the csv is User, User Group, Quarter, Year, Estimated and Actual Costs. I would like to use a form to display the data dynamically and when you select a set of options the data is displayed on the page. Is this possible?
  12. R

    Linux advice

    Really liking Linux it's much better than Windows. I'm going to try and install it on my other ssd.
  13. R

    Linux advice

    I will give it a try over the weekend. I've found a nice laptop also: http://m.ebuyer.com/705955
  14. R

    Linux advice

    Thanks Chris, I have a 1tb WD hard drive, so I was thinking of installing Ubuntu on that and leave Windows on the ssd. I have an Ivy Bridge CPU so I can use virtulisation.
  15. R

    Linux advice

    Is it possible to install Linux on another hard drive?
  16. R

    What are the best tools useful for Web Designing?

    Most tend to use Photoshop or Sketch for designing and then a text editor such as Sublime Text.
  17. R

    10 Common Mistakes in SEO

    Im sorry but where the hell did you pull that list from, a website made about 10 years ago. Here is a common mistake in seo - believing everything you read on the internet!
  18. R

    Best SEO Steps

    There are no steps in SEO! Just because some says do this, does not mean it will work. The whole point in creating a website is for your user, not the search engine. As Chris has mentioned what will you do if suddenly all your SEO tactics fail and you suddenly lose all your business. SEO is...
  19. R

    Turn your tablet into a second screen

    Ive just come across this app:http://www.duetdisplay.com/ It allows you to use your tablet as a second monitor.
  20. R

    Edit Account Information

    Seems all fine Ian, thanks for sorting it. I tried to add a signature but is said it was 20 characters too long.
Top